ID: Q110130
2.50 WINDOWS kbprg kbui kbprb
The information in this article applies to:
The following code snippet causes FoxPro for Windows to behave as if the ALT key is held down. Typing a letter in the Command window opens the menu whose hot key (access key) matches that letter. For example, typing the letter "f" (without the quotation marks) opens the File menu.
Microsoft has confirmed this to be a problem in FoxPro 2.5 for Windows. This problem was corrected in FoxPro 2.5a for Windows.
NOTE: This behavior does not occur if the following code is run from a program. It only occurs only when this code is typed in the Command window.
1. Type the following code in the Command window:
SET LIBRARY TO SYS(2004) + "foxtools.fll"
m.msgbox = REGFN("messagebox", "ICCI", "I")
m = CALLFN(m.msgbox, 0, "testing", "notice", 16)
2. Choose the OK button in the resulting message box.
At this point, any letter you type in the Command window that corresponds to a menu-access key opens a menu.
Additional reference words: FoxWin 2.50 shortcut short cut stroke pull down hotkey KBCategory: kbprg kbui kbprb KBSubcategory: FxprgFoxtools
Keywords : FxprgFoxtools
Version : 2.50
Platform : WINDOWS
Last Reviewed: May 1, 1996