Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enable and Disable Inlist
Message
From
05/10/2005 17:29:36
Bill Drew
Independent Consultant
Chicago, Illinois, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01056317
Message ID:
01056510
Views:
21
Jon,

Setall is a good way.
or
If I have some text boxes to enable or disable but not all, I usually put the same flag value into the Tag property of each text box to get that treatment. then I run through the collection like this
for each oControl in thisform.pageframe1.pagefoo.controls
   if oControl.tag = "MYFLAG"
      oControl.enabled = .t.
   else
      oControl.enabled = .f.
   endi
endf
Previous
Reply
Map
View

Click here to load this message in the networking platform