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

Disable Crystal Report Viewer's Group Tree Button

Status
Not open for further replies.

anthony1709

Programmer
Nov 14, 2006
6
GB
Hi,

I was wondering if anyone knows how to disable the crystal report viewer's group tree button, on the crystal report viewer's tool bar. I'm using Visual Studio 2005.

I able to not display the group tree, when the viewer starts up, but the user can still click on the group tree button for it to appear.

So wondering if theres anyway to disable the button?

Thanks very much, any help much appreciated.
 
I'm not sure if this will work in VS 2005, but in VS 2003 it is:

CRViewer1.DisplayGroupTree = False
CRViewer1.ShowGroupTreeButton = False

Where CRViewer1 is the name of the Crystal Reports Viewer control.

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
Hi,

Thanks for your help and quick reponse.

Yes that did the trick thanks, as it also works in VS 2005.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top