Set the visible of

Chipp Walters chipp at chipp.com
Tue Oct 28 02:06:08 EST 2003


Thomas,

Try:

repeat with v = 1 to 8
    hide fld ("myLabel" & v)
end repeat

(It's all in the parens :-)

-Chipp

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Thomas J
> McGrath III
> Sent: Monday, October 27, 2003 7:57 PM
> To: use-revolution at lists.runrev.com
> Subject: Set the visible of
> 
> 
> I am trying to hide a set of text fields before the card is opened and 
> then show them with a dissolve.
> The fields are named myLabel1, myLabel2 etc to myLabel8
> It don't work.....
> 
> on preOpenCard
>   repeat with v = 1 to 8
>      put quote & "myLabel" &v& quote into h
>      set the visible of Field h to false
>    end repeat
> end preOpenCard
> 
> _______________________________________________
> 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