Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding All Textboxes in Form
Message
From
30/08/2005 02:30:12
 
 
To
30/08/2005 02:12:22
Sunil Kejariwal
The Software Workshop
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01045035
Message ID:
01045036
Views:
31
>If i want to set background, foreground color of all textboxes in a form as per the users selection, how can i find out all the textboxes present in a form. Is there any way to loop through all the textboxes.
>
>Can I use variables while desiging the form for the background and assign it in the loop ?
>
>Pl. help.
>
>Thanks in advance.
>
>Regards

Check SetAll() nmethod of the form, this will works only if all textboxes are placed directly in the form, not in some other container. Other way is to crate a Method that will loop through all controls.
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