Checkbox problem

Marian.Petrides at sm14.texas.rr.com Marian.Petrides at sm14.texas.rr.com
Wed May 15 06:15:01 EDT 2002


Aren't your if statements and your else statements identical? Could this 
be part of your problem?

I think (but am not certain) the if condition would be

	if the highlight of button "myButton" is true then
	(hilite should also work, as should   button ID xxxx)

Marian

On Tuesday, May 14, 2002, at 03:00 PM, Fred_D_Yocum at mail.mcc.org wrote:

> I have a number of fields that I want to remain invisible --unless the 
> user
> checks a check box on a card.
> I cannot figure out how to trap the on/off state of the button. What 
> does rev.
> call this state?
> Here is my script which is on the checkbox control
>
> on MouseUp
>   if ??? of me is true then
>   set the invisible of field ID "1068" to true
>   set the invisible of field ID "1069" to true
>   set the invisible of field ID "1070" to true
> else
>   set the invisible of field ID "1068" to true
>   set the invisible of field ID "1069" to true
>   set the invisible of field ID "1070" to true
> end if
> end MouseUp
>
> TA
> Fred D
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list