Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to bind event on enabled property ?
Message
 
 
À
04/04/2012 11:16:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01540274
Message ID:
01540276
Vues:
43
>i want to execute a procedure whenever a button's enabled status change.
>how to do it ?

The simplest way will be to use Enabled_Assing method to fire a procedure. Select this property in the Property Sheet and fire a PEM Editor and activate Assign method for this property.

Actually, I take it back. It only works for the form itself. For the button to work it has to be of a special class which have this method implemented there.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform