design of radio-button choice
Charles Hartman
charles.hartman at conncoll.edu
Thu Aug 4 22:29:39 EDT 2005
Ah! Never mind -- I just found the target() function.
Charles
On Aug 4, 2005, at 10:23 PM, Charles Hartman wrote:
> Thanks -- and to Alex, too -- I hadn't thought of grouping the
> check-boxes. I'm first going to try a simpler & more permissive
> approach and see how the user-experience feels, but if that's not
> satisfactory I'll do the second group.
>
> But either way, there's something I still don't quite understand
> about the messaging.
>
> I know how to find out which of a group of radio buttons has been
> pressed -- but I'm not quite clear how to know when one (any) has
> been pressed, that is, when to check the result. Do I just use a
> mouseUp handler attached to the group (of radio buttons)? That
> looks promising and I'll try it. However:
>
> If the check-boxes are also in a group, presumably I should manage
> them from a script attached to their group, too. In a mouseUp
> handler? But their "radioBehavior" will be false (more than one can
> be hilited, no auto-de-hiliting), so hilitedButton won't work. How
> do I tell, in that mouseUp handler, which one was pressed?
>
> Is there a tutorial on this stuff? I haven't seen one but I may be
> looking in the wrong place. I know it's pretty basic, but I'm
> confused. Thanks again for the patience & advice.
>
> Charles
>
>
> On Aug 4, 2005, at 3:46 PM, Dan Shafer wrote:
>
>
>> When you say "wait", what do you really mean? Do you mean you want
>> to force the user to click on a radio button before doing anything
>> else? Or do you literally mean you want to force a delay of some
>> sort?
>>
>> Assuming the former, one easy way to do this would be to put the
>> checkboxes in a group and the radio buttons in a group and then
>> when the user checks a checkbox, disable the checkbox group until
>> he clicks a radio button. Then in the radio button group, re-
>> enable the checkbox group.
>>
>> Close?
>>
>> On Aug 4, 2005, at 12:38 PM, Charles Hartman wrote:
>>
>>
>>
>>> So I want is that when the user clicks a check-box, I wait until
>>> the user picks one of the radio buttons
>>>
>>>
>>
>>
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Dan Shafer, Revolution Consultant and Author
>> http://www.shafermedia.com
>> Get my book, "Revolution: Software at the Speed of Thought"
>> From http://www.revolutionpros.com, Click "My Stuff"
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
More information about the use-livecode
mailing list