Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click Event of 'Revert' button
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00455182
Message ID:
00455311
Views:
29
>>Instead of the code bellow, BTW, you can use this: (increases Readability)
>>
>>With ThisForm.Commandgroup1
>>     store .f. to .command1.enabled, .command2.enabled
>>endwith
>>for i=3 to 9
>>    store .t. to ('ThisForm.Commandgroup1.command'+transform(i)+'.enabled')
>>next
>>
>
>Or:
>
>
WITH ThisForm.Commandgroup1
>   .SetAll("Enabled", .T.)
>   stored .F. to Command1.Enabled, .Command2.Enabled 
>ENDwith
Thanks, that's better.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform