Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NoDefault for Text box
Message
 
À
24/10/2003 12:51:03
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00842267
Message ID:
00842281
Vues:
20
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
Fil
Voir

Click here to load this message in the networking platform