Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Triy to use macro substitution for object.property
Message
 
To
06/08/1999 18:31:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00250948
Message ID:
00251019
Views:
19
Christian,

Here's an alternative for you. In the refresh of each button put this code;
LOCAL lcCheckBox
lcCheckBox = "THIS.Chk" + SUBSTR(This.Name,LEN(ALLTRIM(This.Name))-2)) + ".VALUE
This.Enabled = (&lcCheckBox = 1)
Then name the buttons and checkboxes as chk01 chk02 btn01, btn02 etc.. Once you've done this you can simply;

Thisform.refresh() to get everything enabled and disabled.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform