Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating ONLY the Reports Controls Toolbar from View Menu
Message
De
20/03/1999 13:58:39
Greg Evans
Ag Communication Systems
Phoenix, Arizona, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Activating ONLY the Reports Controls Toolbar from View Menu
Divers
Thread ID:
00200158
Message ID:
00200158
Vues:
44
I have been using the following code to activate the View menu so that the user can access the Report Controls Toolbar in order to modify a report during runtime.

DEFINE PAD _MSM_VIEW OF _MSYSMENU AFTER _MSM_EDIT PROMPT;
"\
ON PAD _MSM_VIEW OF _MSYSMENU ACTIVATE POPUP _mview
DEFINE POPUP _mview MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR _mvi_toolb OF _mview PROMPT "\ MESSAGE "Shows, hides, or customizes toolbars"

MODIFY REPORT .....

It works great, except I don't want any of the other options on the View menu to be enabled. For instance, the user could wreak havoc on the system if they select Databse or Table Designer. Does anybody know how to programatically deactivate items on the View menu?

Thanks!

Greg Evans
AG Communication Systems
Greg Evans
Répondre
Fil
Voir

Click here to load this message in the networking platform