Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modifying the VFP System Menu

Status
Not open for further replies.

RichardH

Programmer
Apr 21, 2001
46
US
In VFP 6.0 is there a way to remove "Preview" and "Data Enviroment" from the View menu that is dislayed when modifying a report.

I know how to modify the system menu _MSYSMENU and about SYS(2013) which displays many of the system menu names but not the ones I am looking for. It seems that I would need to redefine POPUP _VIEW to just include; the toolbars Report Controls, Layout Controls, and Color Controls, and Grid Lines and Show Position. Is there anyway to do this?
 
See thread184-64315 ramani :)
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
Ramani, Thanks for the tip but that doesn't seem to accomplish what I am looking for. Did I missunderstand the answer or did I not make the question clear. Let me try again.

I don't what to customize a tool bar. I want to customize a menu. I wan't the users to be able to modify reports, but I don't want them to Preview them from the Report Designer screen. I will let them Preview the reports before they print but not from the Design screen.

What I want to change is the View Menu that Displays in the Report Designer screen. The default choices are:
-Design
-Preview
-Data Enviroment
-Report Controls Toolbar
-Layout Toolbar
_Palette Toolbar
-Grid Lines
-Show Position

I want to remove -Preview and -Data Enviroment from that menu. Hopefully there is a way to do that. Thanks
 
Richard

I want to be able to do this as well. If I find a solution I will let you know.

John Jarman
 
Richard

Without wishing to appear negative, I would question the wisdom of letting a user "loose" with the Report Designer.

FAQ184-157 outlines how you can let a user modify a report at runtime without exposure to the Report Designer.

Basically you provide a report as a modifyable template.

The report is opened as a table and through toolbar classes which are specific to each type of report object, the object can be moved, resized, coloured etc in a similar way to a graphics editor interacting with graphical objects.

You can set up a form so that you have a WYSIWYG report view as the table, (report) is controlled through the toolbar classes.

The report can then be saved, previewed and printed etc.

Unless your users are very experienced, I suspect there will tears before bedtime with their use of the Report Designer.

Chris :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top