Radio Buttons

Klaus on-rev klaus at major.on-rev.com
Tue Jan 18 12:18:19 EST 2011


Hi Bob,

> You can use break in an if end if structure??

sure you can!

But I won't make sense and will probably throw an error :-D

> Bob
> 
> 
> On Jan 18, 2011, at 3:41 AM, Martin Meili wrote:
> 
>> Hi
>> I don't know whether I've understood your problem correctly or not. But, just in case, I usually do these things the following way:
>> 
>> on mouseup
>>    if the hilite of me <> true then
>>    set the hilite of me to true
>> break
>>  end if
>>  if the hilite of me = true then
>>      set the hilite of me to false
>>  end if
>> end mouseup
>> 
>> Make sure that the autohilite property of your button is set to false.
>> 
>> Cheers
>> Martin

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list