Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically invoking Report Controls Toolbar
Message
 
To
08/03/1999 16:05:24
Hermann Strijewski
Fast Track Business Solutions
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00195328
Message ID:
00195411
Views:
21
>>I have a form where I want to put a command button with Click code:
MODIFY REPORT myreport.FRX
Is there some way how I can programmatically enforce that Report Controls Toolbar to appear for the users?<<

First create a new menu (ViewMenu.mpr) via the quick menu method so you can have the basic VFP menu. I then delete all pads except for File Edit View Window (nothing magical about this, just my preference). Then when I get ready to allow editing of report layouts I issue the following commands

Push Menu _msysmenu
do ViewMenu.mpr
MODIFY report (cReport) &&MyReport.frx
Pop Menu _msysmenu

Under the view menu, all the report modify toolbars are available. (Note: The toolbars only are visible at runtime. During design time, only \Toolbars... is available).

Kevin
Kevin Emmrich
www.jkt9000.com
Previous
Reply
Map
View

Click here to load this message in the networking platform