Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Controls Toolbar
Message
From
22/03/1999 22:34:10
 
 
To
22/03/1999 10:37:26
Greg Evans
Ag Communication Systems
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00200463
Message ID:
00200781
Views:
9
I didn't try it, but I guess that if you dfine your own menu instead of _MSM_VIEW and _MVIEW (and remove the _MSM_VIEW pad), it should work.

Vlad

>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 "<\View";
>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?
>
>Greg Evans
Previous
Reply
Map
View

Click here to load this message in the networking platform