Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing SysGen Menu Constants
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00693637
Message ID:
00696192
Views:
27
VFP doesn't provide access to such dynamic menu items. The best you can do is disable or remove VIEW pad before launching report designer and give user appropriate toolbars. However, Preview and DE still can be accessed from Right-Click on the Report Designer window.

>I've recently completed a custom report designer program for my employer. I built it in VFP 7 and it's simply a "DO MyApp.mpr" based program that uses mostly Fox menus which attach to the default Fox window.
>
>The problem: Our clients will be working with two types of report designs (both are .frx). One is a payroll check format and the other is a typical report. As most of you probably know, Fox generates/updates the menu system when you open a report file. I need to be able to disable the first four options under the View option for Reports and the first three for the Check formats because we don't want the client to be able to browse the table that's part of the project, preview reports from design mode (too many fields involved), etc.
>
>Well, from what I've found on the Web thus far (nothing) Microsoft doesn't expose the constants for the submenu items that Fox creates when using BAR# _mvi_toolb in the menu designer. I've tried "SET SKIP OF _mvi_prevu OF _mview llSkip" but the _mvi_prevu is not a valid constant for the preview option under View nor were several other variations I've attempted.
>
>If it is possible to even do what I'm attempting, please let me know how or a good web site / book from which I can retrieve this info. Thanks!
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform