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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Disable Preview Pane in CRViewer at runtime?

Status
Not open for further replies.

longfellow

IS-IT--Management
Mar 28, 2002
75
IN
I Call Crytal report from VB. At runtime i dont want the preview pane to appear in the crystal Viewer. Is there anyway to disable this? Either setting properties or any other way? Can anyone tell me?
 
What's a preview pane?

Which Crystal Viewer?

Edit the code in the "Windows Form Designer generated code" if it's your viewer.
 
I think you need to describe your problem a little more thoroughly, as well as including some techincal info:

Crystal version
VB version
Method you're using to call the Crystal Print engine (RDC, etc.)

-dave
 

I am using Crystal Reports Ver9, CRviewer91 and VB 6


Form2.CRViewer91.ReportSource = report is the method used to link to the report. When i call the report i don't want to see the preview pane in CRViewer

Is it possible

longfellow
 
You mean you don't want to see the CRViewer at all? Set it's Visible property to False.

-dave
 
No not the CRviewer. In the CRViewer a preview pane appears during run time,which practically has no use. I just want to suppress that pane. IS it possible to suppress that.

Longfellow
 
I have absolutely no idea what you mean. To me, 'Preview Pane' would be the part of the window that's displaying the report. That essentially is the CRViewer.

Are you talking about the Group Tree maybe (rpt.DisplayGroupTree = False)? The tab with the word 'Preview' on it (rpt.DisplayTabs = False)?

In VB, in Design mode, try toggling the CRViewer's properties on/off to see if you find whatever it is you're looking for.

-dave
 
First thanks for that info it worked . Yes i was talking about the Grouptree and displaytabs. Now my crystal report is perfect thanks once again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top