ameedoo3000
IS-IT--Management
hi
how can i hide the titlebar of report preview
how can i hide the titlebar of report preview
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
PUBLIC cpreview,cListener
DO (_REPORTPREVIEW) WITH cpreview && cPreview is not instantiated
cpreview.ZoomLevel = 10
cpreview.ToolbarIsVisible = .T. &&There is no such property 'ToolbarIsVisible' and if you want to hide the Toolbar,
it should be something like:
*!* cPreview.Toolbar.Visible = .F.
cListener= CREATEOBJECT('ReportListener')
cListener.ListenerType = 1
cListener.PreviewContainer = cpreview
REPORT FORM my_report_name OBJECT cListener NOWAIT
cpreview.oForm.Toolbar.Dock(0)
cpreview.oForm.WindowState = 2
cpreview.oForm.titlebar = 0
DO foxypreviewer.app
_Screen.oFoxyPreviewer.cTitle = "" && or set any alternative title you want
REPORT FORM MyReport PREVIEW
All I want is to hide the titlebar which shown in image