Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
Apr 3, 2000

Disabling Function Keys in an Application

Question:
How do I disable function keys in an application?

Answer:
You can disable function keys by using the ON KEY LABEL command. Putting an asterisk (*) after the key name disables the key.

For example, the following command disables the F2 function key:

ON KEY LABEL F2 *
To restore the function key later, just execute the same command without the asterisk.

For example, the following command enables the F2 key:

ON KEY LABEL F2
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap