Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lastkey()
Message
From
07/04/2014 13:08:37
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01598176
Message ID:
01598180
Views:
43
>I have a modal form that receives commands. It has only command buttons and 2 read only text boxes. Since no editable control ever has focus, how can I implement the usage of entries from the keyboard as well as clicking on the buttons?
>
>I am guessing there is an event in the form that can "receive" input from the keyboard.
>
>Thank you in advance,
>
>Gary De Lecce

Forms KeyPress event if forms KeyPreview property is true will do the job.

Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform