>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.
OffThere is no place like [::1]