Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to hide a bar?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
How to hide a bar?
Divers
Thread ID:
00900956
Message ID:
00900956
Vues:
66
Hi, all,

I have created a menu with the menu designer and I would like to hide a bar based on the user preference. The .mpr file looks this:
SET SYSMENU TO
SET SYSMENU AUTOMATIC

DEFINE PAD _1890tuwa5 OF _MSYSMENU PROMPT "\<Reports" COLOR SCHEME 3 ;
	KEY ALT+R, ""
ON PAD _1890tuwa5 OF _MSYSMENU ACTIVATE POPUP reports

DEFINE POPUP reports MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF reports PROMPT "Report1"
DEFINE BAR 2 OF reports PROMPT "Report2"
ON SELECTION BAR 1 OF reports report form report1.frx 
ON SELECTION BAR 2 OF reports report form report1.frx 
How do hide bar 2 at run time?

Any help will be appreciated.

TIA,

Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform