Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Secret Form
Message
From
31/05/2002 14:41:07
 
 
To
31/05/2002 13:51:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00663569
Message ID:
00663599
Views:
12
Hi Steven,

One way would be to have the master string held in a (form or oApp) property plus another property to hold the test keystrokes. In the KeyPress event build the test keystrokes string and compare to the same number of characters held in the master string. As long as a match is made, continue to build the test string ( might need a NODEFAULT also so the keystroke is not processed normally unless you want it to be ). If a match fails reset the test string. When the test string finally matches the master string, execute whatever form or command you like. There are probably other ways but you couold probably work this way out.

Bill

>I have a form that I only want to become visible when a combination of keys are pressed example "weber aircraft F4". I have used the KeyPress event for simple key presses but nothing like this yet.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform