Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KEYPRESS - EVENT (Trapping Alt or Ctrl)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00121615
Message ID:
00122025
Views:
28
Wayne,

When I tested this yesterday I must have seen the form.KeyPress() fire on alt-G instead of the textbox. You can hook the form.KeyPress to the textbox to handle the alt-keys.

>Drop a text box on a form and place a WAIT WIND 'Not Cool' in the KEYPRESS event. Then press a letter. The WAIT WIND will fire. Press ALT+A,B,C,D,E,...
>The method will not fire.
>
>The KEYPRESS of the form might fire, but the action you want in the text box will not fire.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform