Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Box Not updating properly.
Message
 
To
15/10/1998 10:00:07
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00147125
Message ID:
00147128
Views:
32
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform