Print Page | Close Window

Column Width

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=3707
Printed Date: 05 May 2024 at 6:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Column Width
Posted By: Shawshank
Subject: Column Width
Date Posted: 27 February 2006 at 1:03pm

I'm attempting to set a column width to be exactly the width of the icon contained in the column header. Just as in the ReportSample. Even after looking this sample over I still cannot achieve the same result. I have set the property .AllowColumnResizing = False when creating the columns. In turn, I set each columns .AutoSize property to False. For the column in question the .Resizable = True property is set. I give the column width a value of 1 but this is still to large --which is odd as the ReportSample provides a width of 18 which is quite large given the width as is displayed in the sample after running it. So how does one set a non-sizable width that is essentially the same width as the icon in the column header?

 

Any feedback would be appriciated.




Replies:
Posted By: Shawshank
Date Posted: 27 February 2006 at 2:37pm
Figured it out...when adding a column via .Add I passed True for the re sizable param when False was the appropriate value in this case.



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