Hi,
its not clear if you define the menu via generator or in code
code example
DEFINE POPUP Men_SubK SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR 1 OF Men_SubK PROMPT 'User';
SKIP FOR !plBar1
ON SELECTION BAR 1 OF Men_SubK *
plBar1 = .t.
ACTIVATE POPUP Men_SubK
lnBar = BAR()
RELEASE POPUPS Men_SubK
?lnBar
If you use the menu generator you have to click the little square on the right of the listbox. A new form will open. Enter the var under Skip.
Note that the variable must exist as long as the menu exist (or at least is visible).
HTH
Agnes
>Hi,
>I know to use the SET SKIP OF BAR nMenuItemNumber | SystemItemName OF MenuName2,
>how can I know the nMenuItemNumber and SystemItemName ?
>Can anyone give me some example for this command ?
>
>
>Thanks.
>Derek
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]