Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set all controls using one statements
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00084775
Message ID:
00084875
Views:
31
>
Here is an example that may help you. This will set the background color of all controls on a form to white (can use this with any property).

dim x as object
for each x in formname.controls
x.backcolor = &hffffff
next


Hi Guys,
>    I am new VB5 user. Is there any command that I can enable false all controls like command buttons using one statements. However these type is aviailable in VFP i.e. setall properties.
>
>Ashish Kanoongo
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform