DOCUMENT:Q164372 04-FEB-2000 [foxpro] TITLE :FIX: More Than One Keyboard Letter Will Activate Some Hot Keys PRODUCT :Microsoft FoxPro PROD/VER:WINDOWS:3.0,3.0b,5.0 OPER/SYS: KEYWORDS:kbtool kbvfp kbvfp300bBUG kbvfp500aFIX kbvfp500bugkbbuglist kbfixlist ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0 ------------------------------------------------------------------------------- SYMPTOMS ======== When assigning hot keys to the command button, check box, or option button objects, some keys trigger that hot key besides the letter key that was assigned to it. When assigning the letters G, O, R, or S as hot keys, pressing the Insert, Delete, Home, or End keys also triggers the objects that these letters are assigned to. Also, using the hot key letters A, B, and C can be triggered by the F7, F8, and F9 keys. RESOLUTION ========== To work around this problem, use the ON KEY LABEL command to turn off these keys. Be careful using this method since it might cause problems in some instances because the Insert, Delete, Home, or End keys may not be available for things like editing data. The syntax for this command is ON KEY LABEL *. Note that the asterisk is what disables the key. To turn the key back on, issue ON KEY LABEL without the asterisk. Look in the "Steps to Reproduce Behavior" section for examples of using this command in a form. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0a. MORE INFORMATION ================ To allow an object to have hot key capability, place the "\<" symbols in front of the letter that is to be used as the hot key. For example, placing "\