Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling all controls on a form
Message
From
22/01/2002 20:15:15
 
 
To
22/01/2002 20:11:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00608728
Message ID:
00608740
Views:
20
Thanks, James -- much better than my discovered solution!

>Hi Pete,
>
>Try the following:
>
>
>ThisForm.SetAll("Enabled", .F.)
>
>
>Aloha,
>
>James
>>I've seen this somewhere before, but I can't locate it in any of my reference books. How can you, e.g. disable all the controls on a form? Isn't it something like
>>
>>FOR EACH xxxx IN ThisForm
>> xxxx.ENABLED = .F.
>>ENDFOR
>>
>>Sorry to bother y'all for this elementary question, but I just can't find or figure out the answer.
Pete Donahoe
Once a programmer, always a programmer!
Previous
Reply
Map
View

Click here to load this message in the networking platform