Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Box Not updating properly.
Message
 
À
15/10/1998 10:00:07
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00147125
Message ID:
00147128
Vues:
33
>I have a form where the form is intercepting keystrokes ( this app is designed for real dummies ). The esc key triggers exiting the form and saving or not saving entered data. If the user enters data into a text box and hits esc before hitting tab or enter, the textbox value does not update the field. How can I force the textbox to perform a valid under these circumstances? Thanks :)

Calviun,

In the form's keypress event you can;

IF PEMSTATUS(THISFORM.ActiveControl,"Setfocus",5)
THISFORM.ActiveControl.SetFocus()
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform