Print Page | Close Window

Report Control - Scroll Bars

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2070
Printed Date: 31 May 2025 at 8:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Report Control - Scroll Bars
Posted By: antony30bc
Subject: Report Control - Scroll Bars
Date Posted: 04 April 2005 at 3:01pm

I have a report control with HScroll bars enabled. One of the columns in this control has long text, however the HScroll bar only lets me scroll another 50 pixels before it ends. Well before the end of the text. I have tried making the column size an arbitrarily large number at creation, but it does not affect this.

Is their some maximum inner-width of the control? 

Stephen Goldberg
AT&T Labs




Replies:
Posted By: sserge
Date Posted: 06 April 2005 at 4:34am
Hi Stephen,

For the moment each column size is limited by the control's width.

--
WBR,
Sergey


Posted By: Oleg
Date Posted: 06 April 2005 at 4:45am

Thank you for this. Yes we had maximum available width, but seems you right, need to change it.

 

please open XTPReportHeader.cpp

find

int CXTPReportHeader::GetMaxAvailWidth(CXTPReportColumn* pColumnCheck)

 

and replace

if (!m_bAutoColumnSizing)
  return nTotalWidth;

to

if (!m_bAutoColumnSizing)
  return 32000;

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net