Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid, txtBox Loses Focus Before KeyPress Event
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid, txtBox Loses Focus Before KeyPress Event
Divers
Thread ID:
00271789
Message ID:
00271789
Vues:
65
In a text box of a grid, I have a price field that user's fill in. The InputMask for this Grid column is $$999,999.99. When the users fill in the amount including cents, the txtBox automatically loses focus and the focus goes to the next cell in the grid. What I need is to move down the grid one row. This can be accomplished fine when the user enters a whole dollar amount (without cents) and then presses Enter because I have the following code in the txtBox.KeyPress Event...
LPARAMETERS nKeyCode, nShiftAltCtrl

IF nKeyCode = 13
	KEYBOARD '{DNARROW}'
ENDIF
However, this code never gets the opportunity to fire when the user enters a price including cents, reaching the end of the InputMask. Any suggestions? TIA, Chuck.
Chuck Henry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform