Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check for a Right Click in the Valid Event
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Check for a Right Click in the Valid Event
Divers
Thread ID:
00137764
Message ID:
00137764
Vues:
67
I have a textbox with code in the RightClick and the Valid Events. The user can right click on the field to display a form with a list box of valid selections. The user can also key directly to the text box and the valid event will compare againt the same list. This is very similar to the fuctionality of a combo box, but the user did not want a cobo box for this field.

Anyway, if an incorrect value is entered, an error message is displayed by the valid when you attempt to leave the field. If I try to right click to select a correct entry, the valid event fires first, then displays my right click form, then returns to the original form leaving the right click form burried underneath.

In the valid event, can I check to see if the user right clicked? That way I could suppress the error message since they are attempting to fix it, not just leave the field.
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform