Checking status of checkboxes
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Nov 6 21:18:24 EST 2009
Hi Charles,
That would be:
put the menuHistory of btn "Your Menu Option Button" into myChoice
Note that this returns the currently selected value, even if the user
hasn't made a choice yet.
You could also use the label property of the menu option button, with
the same result.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com
Op 7 nov 2009, om 03:08 heeft charles61 het volgende geschreven:
>
> Hi Mark,
>
> I did check hilitedButton documentation in the dictionary. Thanks
> for bring
> me to my attention.
>
> I do have another but similar question related to option boxes. How
> can you
> check if the user has made a selection in an option box?
>
>
> Mark Schonewille-3 wrote:
>>
>> Hi Charles,
>>
>> The number (0 in this case) doesn't mean that one particular button
>> is
>> unhilited. The 0 means that no buttons in that group are hilited.
>> Please, read up on hilitedButton in the documentation. The docs
>> contain essential information.
>>
>> --
>> Best regards,
>>
>> Mark Schonewille
>>
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>>
>> Download Strõm Flow Chart Software
>> http://flowproject.economy-x-talk.com
>>
>> On 1 nov 2009, at 20:45, charles61 wrote:
>>
>>>
>>> Mark,
>>>
>>> Thanks so much! I tried your suggestions and they works
>>> beautifully! I
>>> have always use true instead of 0 in scripting checkboxes. So, I
>>> also
>>> learn more about scripting groups and checkboxes!
>>>
>>> I have thought of using groups but did not have an idea of how to do
>>> it.
>>>
>>>
>>> Charles Szasz
>>> cszasz at mac.com
More information about the use-livecode
mailing list