Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resetting a form
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00389847
Message ID:
00389851
Views:
13
>Hi,
>
>I have a form with several textboxes that serve as the critera for a search that populates a grid (also on the form).
>
>Is there a way to quickly reset all the controls on the form to blanks? Kinda like the "reset" button found on web based forms.
>
>Right now, I'm manually setting the 5 textboxe's .value property to "", setting the view parameters to impossible values and refreshing the form, which works, but I'd like to know if there is a "right" way to skin this cat.
>
>Thanks!
>
>Alex

Take a look at the SetAll() method of the form. Eg:

THISFORM.SetAll("value","")
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform