Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress Event
Message
 
To
04/06/1999 08:22:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00226436
Message ID:
00226479
Views:
24
>Hi !
> I have a form with Keypress Code... Everything was fine... I add ThisForm.Hide() and ThisForm.Show() in a Command Button and now my Keypress event does not react anymore !!! I have to click first on my form to have this Keypress event again...
>
>I've tried to add SetFocus, Keypreview... No way !
>
>Thanks !
>
>Gilles

Gilles,

After you show the form you must setfocus tio a control in the form in order for the form to receive focus. A form's keypress will only fire if that form is the active form.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform