>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.
Try putting code in the textbox's LostFocus method.