Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling elements in a form at once
Message
From
21/06/2004 04:36:49
 
 
To
18/06/2004 16:12:31
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00915230
Message ID:
00915577
Views:
14
Edgar,

The following should do the trick:
FOR i = 1 TO ThisForm.ControlCount
   ThisForm.Controls[i].Enabled = .F.
ENDFOR
HTH,
Dennis

>Hello, i'd like to know how can i disabled elements (comboxes, textboxes, listboxes, etc.) in a form at once?
>
>Thanks for the help.
Previous
Reply
Map
View

Click here to load this message in the networking platform