Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong with my keypress?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
What is wrong with my keypress?
Miscellaneous
Thread ID:
00188972
Message ID:
00188972
Views:
53
I have a modless form that is used as a splashscreen for a conversion program. If the client presses F1 on the splash screen I want to set a switch that will be used to display a form with some additional conversion options.

I have the form1.keypreview = .t.. There are no controls on the form that have a keypreview property.

In form1.keypress I have

if inkey = 28
loptions = .t.
nodefault
endif

But the vfp help screen always shows. What am I doing wrong?

Thanks - Brenda
Next
Reply
Map
View

Click here to load this message in the networking platform