Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent Grid RightClick in Grid while Update Method Runn
Message
 
 
À
10/05/2011 17:57:46
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01510235
Message ID:
01510236
Vues:
38
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform