Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

/view example doesn't work

 [1/2] from: jelinem1::nationwide::com at: 9-Mar-2001 11:04


The following example from the /view doc doesn't work, or when I try to use the 'choice button in my script: view layout [choice "Choose" data ["Happy" "Joyous" "Free"]] I get the button displayed, but no list of choices. I expect a list of choices to "pop-up" somehow on its own. Do I have to do something else to get this? I am on Windows NT running REBOL/View 0.10.38.3.1 26-Jan-2001. - Michael Jelinek

 [2/2] from: dockimbel:free at: 9-Mar-2001 19:03


Hi Michael, [jelinem1--nationwide--com] wrote:
> The following example from the /view doc doesn't work, or when I try to use > the 'choice button in my script: > > view layout [choice "Choose" data ["Happy" "Joyous" "Free"]] > > I get the button displayed, but no list of choices. I expect a list of > choices to "pop-up" somehow on its own. Do I have to do something else to > get this?
/View documentation is quite old and out of date for some parts. With /View version 0.9.9, it works well. On View 0.10.38, the following line will work : view layout [size 200x200 choice "Choose" "Happy" "Joyous" "Free"] It's not exactly the same than with 0.9.9. If you want more info on what 'choice style can do and how it works : save %choice-style.r get-style 'choice (You'll get the source of the 'choice style.) HTH, DocKimbel.