Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable or enable the menu bar items?
Message
From
29/05/2009 04:20:56
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
29/05/2009 02:15:08
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01402595
Message ID:
01402599
Views:
73
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.  &&activated

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.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform