Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to: store 0 to all like ThisForm.Text* ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01442334
Message ID:
01442335
Views:
38
>Well, it's all in the title.
>I have a form where all numeric textboxes were left with default names (...Text?? ), and it has over a hundred of them.
>Is there an easy way to store 0 to all ThisForm.Text* ?
>
>Thanks
>Jaime

Didn't SetAll() works?
thisform.SetAll("Value", 0, "TextBox")
or better make your own class based on TextBox and set its default value to 0 :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform