PRB: Empty Bars Appear in Shortcut MenuLast reviewed: October 29, 1996Article ID: Q156875 |
The information in this article applies to:
SYMPTOMSEmpty bars appear within a shortcut menu after creating the menu with the DEFINE POPUP command.
CAUSEThe DEFINE POPUP command did not include the RELATIVE clause.
RESOLUTIONAdd the RELATIVE clause to the DEFINE POPUP command. This clause prevents blank spaces from appearing within the shortcut menu. Change the DEFINE POPOP command to read:
DEFINE POPUP Test SHORTCUT RELATIVE STATUSThis behavior is by design.
MORE INFORMATIONIf the DEFINE POPUP command lacks the RELATIVE clause, the order of a particular menu bar depends on its bar number. In the example below, the shortcut menu contains three system menu bars and a bar defined as "BAR 4." Bars 1, 2, and 3 are not defined; therefore, three spaces appear between the "Paste" and "Date" bar items. The Menu Builder automatically places the RELATIVE clause on the DEFINE POPUP command it uses to create shortcut menus.
Steps to Reproduce Behavior
REFERENCESVisual FoxPro 5.0; search on: DEFINE POPUP command
|
KBCategory: kbprg kbui kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |