label filed properties
Jim Ault
JimAultWins at yahoo.com
Sun Mar 18 13:33:41 EDT 2007
There are several ways that you could approach this.
Assuming each field has a different name
repeat with x = 1 to the number of fields
if the short name of fld x is among the words of \
"number name description" then
put empty into fld x
end if
end repeat
Hope this helps.
Jim Ault
Las Vegas
On 3/18/07 9:51 AM, "runrev260805 at m-r-d.de" <runrev260805 at m-r-d.de> wrote:
> Hi,
>
> until now i used Revolution just for manipulationg files (reading and writing
> lines and so on).
>
> Now i want to create a special app with serveral forms in it. I am using only
> text and label fields. I want to place a reset-button on to the card, which
> resets all text fields. If i use the following script
>
> on mouseUp
> put "" into field "number"
> put "" into field "name"
> put "" into field "description"
> end mouseUp
>
> it works fine. But i have to include a line for each field.
>
> If i use
>
> on mouseUp
> put "" into any field
> end mouseUp
>
> I have to click serveral times, until all fields are resetted. But not only
> the text fields, also the label fields are resetted.
>
> How can i reset all textfields with one click, without having the label fields
> modified? Maybe a simple question, but i dont know the answer.
>
> Regards,
>
> Matthias
>
>
>
>
> _______________________________________________
> 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