Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent Grid RightClick in Grid while Update Method Runn
Message
 
 
To
10/05/2011 17:57:46
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01510235
Message ID:
01510236
Views:
37
>I have a grid that is "built" by an update method called by a timer. This grid uses a custom textbox in all the columns so that I have several features one of them being a right click menu. I seem to be having an issue of a user right clicking in the grid WHILE the update method is running. I have tried several things, with no sucess. How would you prevent a native event from firing for the grid BEFORE any code in that event is run, so that the update method doesn't have a problem with updating the textbox of the grid control?
>
>Any suggestions?

To prevent an event you need to use NODEFAULT. So, if you can identify condition, just add NODEFAULT for this condition in that method.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform