>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