Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enable or Visible Event ?
Message
From
04/11/1997 09:52:11
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00058138
Message ID:
00058145
Views:
28
>Hi to all,
>maybe there is no answer to my question but I try ...
>
>I want to trap (by an event or other) when the Enabled or Visible property/status change.
>Think to write a control in a VCX and you want to know when the application code change you Enabled status, (without modify the application code, like calling a Enable() method)
>
>Thanks in advance, any suggestion will be appreciate,

Anytime you want to create a 'custom' event, that VFP doesn't give you, you can usuallyuse a timer that fires every so often (half a second?) that checks the status of the value you are looking for. You would need to define a form property or something that stores the old value, and set it every time after you check. When the actual value is different from the stored value, your 'event' has been fired. HTH
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform