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:
00455197
Views:
34
>Hi Chuck,
>
>If you want to study, you can start from some samples, which shipped with VFP (in sampes directory). I could not say, it's the best code (what's why you can rarely see them in serious applications), but it's a good place to start learn some conceptions.
>
>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
>
Fixed typo in a transform function (beat me today once already :))
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