Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i select all enabled=.f. inside a CONTAINER
Message
 
To
12/05/1999 03:19:05
Rajatkanti Bagadthey
Skynet Systems P Ltd
Kolkata, India
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00217205
Message ID:
00217727
Views:
14
>regd setall for contrls in a container. work ok... just
>want to know if there is any way of inserting a condition in
>setall.
>i.e. if a control does not have a controlsource then leave it
>.enabled=.t. else .enabled=.f.

Expand from the other version I sent...
for each loCurObj in MyContainer.Controls
   llHasCS = pemstatus( loCurObj, "ControlSource", 5 )
   if llHasCS AND not empty( loCurObj.ControlSource )
     loCurObj.Enabled = .F.
   endif
endfor
Previous
Reply
Map
View

Click here to load this message in the networking platform