PRB: Menus Behave Differently in OS 8Last reviewed: November 26, 1997Article ID: Q176729 |
The information in this article applies to:
SYMPTOMSMenu pads, also known as Menu titles, that do not have a submenu associated with them, will not work with a single mouse click when used in FoxPro with Macintosh OS 8. These menu pads require a double-click.
CAUSEThis behavior is caused by a change to the Macintosh operating system with OS 8. The system now has sticky menus that stay down when a menu title is clicked. Previously, the menu would not stay down when the title was clicked.
RESOLUTIONUse submenus with all menu titles (menu pads).
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe DEFINE PAD command is used to create menu titles on menu bars. If there is not a menu associated with the menu title, the ON SELECTION PAD command is used to specify a command that executes when the menu title is selected. Alternatively, if a menu title has a menu associated with it, the ON PAD command is used to activate the popup and its bars that make up the menu. Both menu scenarios are illustrated in the sample program below in the Steps to Reproduce Behavior section. Generating a menu created in the Menu Designer produced the code used in the sample program. The code was copied from the .mpr file created when the menu was generated. The randomly generated names for the menu titles were changed to p1 and p2. The menu title that uses the ON SELECTION PAD command requires the double-click for its command to execute, which has Hello as the prompt.
Steps to Reproduce Behavior
REFERENCESVisual FoxPro Help, version 3.0b; topics: Define Pad, On Selection Pad, On Pad, Define Popup
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |