Field "Label" information

Phil Davis davis.phil at comcast.net
Mon Jan 31 16:36:44 EST 2005


Try this at the appropriate place in your script:

   put empty into fld "label1"

Depending on how you've organized your app, maybe you could put the 
above statement in a "closeCard" handler of the card containing the 
field to be cleared.

Or if you want the field cleared before the card appears onscreen, put 
this in the card's script:

on preOpenCard
   put empty into fld "label1"
end preOpenCard


Phil Davis



Paul Salyers wrote:
> 
> 
> 
> When you have a field on a card, after you run it the information stored 
> in the field is held in there while in edit mode. Is there a way to have 
> it cleared out when you run the program in run script mode?
> 
> 
> Paul Salyers
> PS1 - Senior Rep.
> PS1 at softseven.org
> Http://ps1.SoftSeven.org
> _______________________________________________
> 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