--- William de Smet <[EMAIL PROTECTED]> wrote: > Thanks Klaus, > > This does what I want but then I lose al the > available options in the > 'options' btn. > I am making an educational stack with levels. In the > teacher part the > teacher can choose the right startinglevel (1.1 to > 1.5). After making > the exercise the script needs to update the level > automatically so > when the student starts working the next day he > starts with the next > level. The teacher must also be able to change the > level back again > (and with the script so far I've lost al the > available levels). The > teacher part is a different stack because it needs > to save data. > > Maybe I need to work with checkboxes but that takes > more space in the > GUI than an option button? Then you set the hilite > to true or false > and check this with scripting. > > Anyone else can help me with the option button? > > William de Smet >
Hi William, Have you tried to use the 'menuHistory' property to change the selected option? It takes the line number of the option to select. -- set the menuHistory of btn "Level" to 4 -- This will also send the 'menuPick' message to the option button, which might come in handy - and it that's the opposite of what you want, just use a pair of 'lock messages' and 'unlock messages' around it. Hope this helped, Jan Schenkel. Quartam Reports for Revolution <http://www.quartam.com> ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
