home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-04-08 | 847 b | 18 lines | [TEXT/ToyS] |
- on run
- set d to current date
- set dd to d's date string
- DoMenu(["One", "Two", "Three", "Four", 5, 6, 7, 8, 9, 10, 11, 12, 13 ¬
- , d's time string, word 1 of dd, third word of dd, last word of dd])
- end run
-
- on DoMenu(theItems)
- set dItems to [¬
- {class:push button, bounds:{190, 265, 250, 285}, name:"OK"}, ¬
- {class:push button, bounds:{110, 265, 170, 285}, name:"Cancel"}, ¬
- {class:group box, bounds:{10, 15, 250, 220}, name:" Choose an option: ", style:secondary group}, ¬
- {class:radio group, bounds:{20, 30, 120, 46}, button offset:[105, 20], max down:9, contents:theItems}, ¬
- {class:text field, name bounds:{10, 230, 40, 246}, name:"Edit", bounds:¬
- {50, 230, 250, 246}, value:"The quick brown fox jumps over the lazy dog."} ¬
- ]
- get dd auto dialog {size:{260, 295}, contents:dItems, timeout after:60} with greyscale
- end DoMenu