unhilite all fields of card ... ?

Frank D. Engel, Jr. fde101 at fjrhome.net
Fri Sep 3 14:43:42 EDT 2004


Sweet!

Thank you, that looks great.

On Sep 3, 2004, at 2:35 PM, Mark Wieder wrote:
>
> I do something like this in a repeat loop:
>
> local y, tObject, tControl
>
> put the name of this card into tObject
> repeat with y=1 to the number of controls in tObject
>   put the name of control y of tObject && "of" && tObject into tControl
>   switch word 1 of tControl
>     case "field"
>       put empty into tControl
>       break
>     case "button"
>       set the hilite of tControl to false
>       break
>   end switch
> end repeat



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list