Print Page | Close Window

PRB: No horizontal scrollbar in tree mode

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=23368
Printed Date: 28 March 2024 at 11:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PRB: No horizontal scrollbar in tree mode
Posted By: mgampi
Subject: PRB: No horizontal scrollbar in tree mode
Date Posted: 22 June 2017 at 10:07am
Hi;

Using toolkit v17.3, I created a report control with only one column and activated tree mode.
My problem is, that no scrollbar appears, when the item text is larger than the width of the report control. Instead the item text is clipped and an end ellipsis is draw.
What do I have to do, to get the scrollbar?

TIA


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: olebed
Date Posted: 17 July 2017 at 8:22am
Hello Martin,

I can advise to disable automatic column sizing.

Regards,
 Oleksandr Lebed


Posted By: mgampi
Date Posted: 17 July 2017 at 8:24am
Thanks,

but how can I calculate the required column width an what is the best way to adjust the width then to this size?

TIA




-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: olebed
Date Posted: 17 July 2017 at 8:32am
call  CXTPReportHeader::BestFit(CXTPReportColumn* pColumn)



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