Print Page | Close Window

AutoColumnSizing and fixed size columns

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=7900
Printed Date: 27 September 2024 at 11:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AutoColumnSizing and fixed size columns
Posted By: mgampi
Subject: AutoColumnSizing and fixed size columns
Date Posted: 29 August 2007 at 4:19pm
Hi;
I created a report control with several columns. The first two columns are of fixed size (EnableResize(FALSE)), the others are sizeable. The whole control  has the AutoColumnSizing attribute set.
When resizing the whole control - contained in a splitter pane - also the fixed columns are sized.
So does anyone know how to prevent this unwanted resizing?


-------------
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: mgampi
Date Posted: 25 September 2007 at 2:11pm

Hi,
I found the solution - I didn't notice the additional parameters for constructing CXTPreportColumn objects. Setting the bAutoSize parameter in the constructor of CXTPReportColumn to FALSE for fixed columns is all I had to to...



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

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



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