Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Why do you use LostFocus here? I believe that Valid event is more appropriate here. To remain in the box you should return 0 in Valid, otherwise .t..
>I have a text box that recieves a user input date. It checks this date against another known date. If this input date is prior to known date I display a generic message form for a few seconds with a warning message and clear the invalid Text data. However, the text box loses focus even though I have NoDefault in the lostFocus event. If I don't display the message form the text box retains the focus, but I really need the message form to display the warning.
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