Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement