Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Triy to use macro substitution for object.property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00250948
Message ID:
00251019
Vues:
20
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform