show hidden fields

rev at armbase.com rev at armbase.com
Sat Sep 17 09:01:56 EDT 2005


Hi All

I have managed to hide a field dependant on its background colour (background
colour set by a differnt script) but I'd like to show all the fields that I
have hidden.

I used this script
on mouseUp
  repeat for x=1 to the number of fields
    show fld x of stack "doubledelete"
  end repeat
end mouseUp

but I'm getting an error

     	executing at 2:00:27 PM
Type	repeat: error in 'for' condition expression
Object	Button
Line	repeat for x=1 to the number of fields
Hint	button id 1016 of card id 1002 of stack "C:/Documents and
Settings/Bob/Desktop/doubledelete.rev"


Any ideas.

PS the stack is on revonline in my user space "nijinsky"

Cheers :-)
Bob

PS Klaus I knoew you are online. Thanks for the help yesterday.:-)




More information about the use-livecode mailing list