Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to bind event on enabled property ?
Message
 
 
To
04/04/2012 11:16:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01540274
Message ID:
01540276
Views:
42
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform