FIX: OptionGroup with M, P, H, K Hot Keys Fire Valid (158830)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q158830 SYMPTOMS
If an OptionGroup control has the alphabetic characters "M," "P," "H," and
"K," as hot keys, and the user moves through the OptionGroup using the
direction (or arrow) keys, the Valid event fires.
WORKAROUND
For the Option button that has "M" as the hot key, add the following
command to the GotFocus of this Option button:
ON KEY LABEL RIGHTARROW KEYBOARD '{DNARROW}'
For the hot key "H," place the following command in the GotFocus:
ON KEY LABEL UPARROW KEYBOARD '{LEFTARROW}'
For the hot key "K," place the following command in the GotFocus:
ON KEY LABEL LEFTARROW KEYBOARD '{UPARROW}'
For the hot key "P," place the following command in the GotFocus:
ON KEY LABEL DNARROW KEYBOARD '{RIGHTARROW}'
Then add the ON KEY command to the LostFocus of each Option button to
restore all keys to their default behavior.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem has been corrected in
Visual FoxPro 5.0 for Windows.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | kbbug kbfix KB158830 |
---|
|