Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I set the property of a button from a procedure?
Message
From
17/04/1998 23:33:30
 
 
To
16/04/1998 11:27:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092543
Message ID:
00093107
Views:
25
>How can I set the property of a button from a procedure?
>From a menu option and in a procedure file, I want to enable
>a button on my form. any ideas?

Add two properties to your form or objects classes "ENABLEHOOKS" & "HOOKSNAME" , then check this property in (Refresh, init,...) any method that you expect you need this hook and if it is (.t.), then run a procedure and pass the (Oform,oBject) and the procedure suppose to run whatever stored in "HOOKSNAME".
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform