clearing a field through a variable holding the name of the field

Mark Smith mark at maseurope.net
Wed Jan 31 16:04:48 EST 2007


Try "set the text of gFirstGuess to empty".

Best,

Mark

On 31 Jan 2007, at 20:54, Curt Ford wrote:

> I've got a routine with a number of fields that the user can click  
> on. I keep track of which ones they've clicked on with a mouseUp  
> handler that includes
>
> put the target into gFirstGuess
>
> At times I need to clear the field referred to by gFirstGuess, but
>
> put empty into gFirstGuess
>
> seems to just empty the variable, not the field itself. How can I  
> clear the field that gFirstGuess refers to? Am I missing something  
> obvious? Thanks!
>
> Curt
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list