Setting the labels of radio buttons from a Option Menu Button

Charles Szasz cszasz at mac.com
Mon Jul 7 21:50:47 EDT 2008


Jacquline,

The sample script was one that I fooling around with it after my project did
not work. My actual project that I am using names in the Switch statements
does not work. So, 


J. Landman Gay wrote:
> 
> Charles Szasz wrote:
>> I have been unable to set the labels of radio buttons in a group from an
>> Option Menu. I do not understand why the following script does not work
>> for
>> two radio buttons, R1, R2, in a group "radio" from a Option Menu button:
>> 
>> on menuPick pChosen
>>      switch
>>           case "choice 1"
>>                set the label of button "R1" of group "radio" to "Hello"
>>                break
>>           case "choice 2"
>>                set the label of button "R2" of group "radio" to "Bye"
>>                break
>>      end switch
>> end menuPick
>> 
>> Anyone have any suggestions?
> 
> Unless the menu items in the button really are "Choice 1" and "Choice 2" 
> then nothing in that script is going to fire. Replace the "choice" 
> statements with the actual names of your button's menu items.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

-- 
View this message in context: http://www.nabble.com/Setting-the-labels-of-radio-buttons-from-a-Option-Menu-Button-tp18328415p18330393.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list