Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a sort of *LASTKEY()* for the mouse ?
Message
De
15/08/2000 10:47:50
 
 
À
15/08/2000 07:40:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00404395
Message ID:
00404962
Vues:
11
>>That makes sense since it is what I am trying to do: There is a textbox with an associated lookup button. If entry is invalid but lookup button was just clicked, the valid should release and let it happen. The lookup button is responsible for what happens next.
>
>Well, I doubt you need to worry about the programmatic change in focus, so, use MDown() and Sys(1270) to see if the LookUpButton was selected. If MDown() is .F. test lastkey(), if it was TAB, you should skip validation cause you can assume you're going to the lookup button. Remember, to validate the textboxes value when you leave the button then, but only if you're not going back to the textbox.

Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform