For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > April 2006 > Missing treeview









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Missing treeview
Roger Twomey

2006-04-25, 7:18 pm

I am working from Visual Studio 2003 and Crystal XI.

I have three reports. In all of the reports I use the following code:
<code>
CrystalReportViewer1.HasZoomFactorList = True
CrystalReportViewer1.HasViewList = True
CrystalReportViewer1.DisplayGroupTree = False
CrystalReportViewer1.HasCrystalLogo = False
CrystalReportViewer1.HasToggleGroupTreeButton = True
</code>

To set what buttons are available from the crystal menu. Note that the DisplayGroupTree = False and the HasToggleGroupTreeButton = True.

In two out of three reports this hides the treeview on the left and when a user wants it they press the button to show the treeview and it appears.

In one of the reports you press the button and the page moves to the right to make room for the treeview... but it isn't there.

I figure I must have set it's visible property to false SOMEWHERE. Since it isn't in the code behind I think I must have done it in the actual Crystal report. Does anyone know where/how I might have done this?

Thanks.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com