Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable or enable the menu bar items?
Message
De
29/05/2009 04:20:56
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
29/05/2009 02:15:08
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual ProMatrix
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01402595
Message ID:
01402599
Vues:
72
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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform