BUG: Different TAB & SHIFT+TAB Behavior in Visual FoxPro Popup (138145)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b
  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 5.0a
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q138145

SYMPTOMS

In FoxPro 2.x, the TAB or SHIFT+TAB keys can be used to exit a popup menu, but in Visual FoxPro, pressing TAB or SHIFT+TAB does nothing.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Run the following code in FoxPro version 2.6 for Windows:
          DEFINE POPUP POP_UP FROM 10,10 SHADOW
          DEFINE BAR 1 OF POP_UP PROMPT "Cedar Springs"
          DEFINE BAR 2 OF POP_UP PROMPT "Detroit"
          DEFINE BAR 3 OF POP_UP PROMPT "Grand Rapids"
          DEFINE BAR 4 OF POP_UP PROMPT "Lansing"
          DEFINE BAR 5 OF POP_UP PROMPT "Muskegon"
          ON SELECTION POPUP POP_UP DEACTIVATE POPUP POP_UP
          ACTIVATE POPUP POP_UP
          RELEASE POPUP POP_UP
    						
  2. Press TAB or SHIFT+TAB to exit the popup.
  3. Run the same code In Visual FoxPro 3.0.
  4. Press the TAB or SHIFT+TAB to see that this does not exit the popup.

Modification Type:MajorLast Reviewed:5/7/2003
Keywords:kbBug kbProgramming KB138145