A barberpole spinner
#5
OK, I'm missing something here. The code below should display a 50-pixel horizontal spinner in the bottom left corner. But it doesn't. It does not crash, it just does not display anything.

Code:
import spinner

    window open 100,100 to 500,280, "MainWindow", ProgramName$
    window set "MainWindow", "look", "floating"
    window set "MainWindow", "feel", "modal-app"
    window set "MainWindow", "flags","not-zoomable"
    window set "MainWindow", "flags","not-resizable"
    text 10,25 to 49,40, "URLlabel", "URL:", "MainWindow"
    text 10,68 to 52,88, "Submitlabel", "Submit", "MainWindow"
    text 10,105 to 59,125, "Resultslabel", "Result:", "MainWindow"
    
    draw rect  70,10 to 390,50, "MainWindow"
    Textedit 71,11 to 389,49, "URLField", 0,"MainWindow"
    Button 70, 60 to 390, 90, "tinyurlButton", "Submit this URL to tinyurl.com", "MainWindow"
    
    View 70, 100 to 390, 130, "ShortURLView", "MainWindow"
    
    new_spinner(10,147,50,0, "DuringCurl", "MainWindow")
    display_spinner("DuringCurl")
    spin("DuringCurl")
    
    Button 70, 140 to 280, 170, "copyButton", "Copy to clipboard", "MainWindow"
    option set "copyButton", "enabled", 0 //don't need this until we have a short URL
    Button 290, 140 to 390, 170, "aboutButton", "About", "MainWindow"

There's something here that I am not seeing/understanding.
Reply


Messages In This Thread
A barberpole spinner - by bbjimmy - 05-05-2016, 10:58 AM
RE: A barberpole spinner - by clasqm - 05-07-2016, 02:57 PM
RE: A barberpole spinner - by bbjimmy - 05-07-2016, 07:21 PM
RE: A barberpole spinner - by clasqm - 05-08-2016, 08:02 AM
RE: A barberpole spinner - by clasqm - 05-08-2016, 09:40 AM
RE: A barberpole spinner - by bbjimmy - 05-08-2016, 12:43 PM
RE: A barberpole spinner - by clasqm - 05-09-2016, 04:40 PM
RE: A barberpole spinner - by bbjimmy - 05-09-2016, 09:46 PM
RE: A barberpole spinner - by clasqm - 05-10-2016, 11:12 AM
RE: A barberpole spinner - by bbjimmy - 05-10-2016, 02:02 PM
RE: A barberpole spinner - by clasqm - 05-10-2016, 03:23 PM
RE: A barberpole spinner - by bbjimmy - 05-11-2016, 09:21 AM
RE: A barberpole spinner - by clasqm - 05-13-2016, 02:08 PM
RE: A barberpole spinner - by clasqm - 05-17-2016, 11:11 AM

Forum Jump:


Users browsing this thread: 8 Guest(s)
Free Web Hosting