Print Page | Close Window

Colomn name 'auto adjust' possible?

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=23475
Printed Date: 26 April 2024 at 7:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Colomn name 'auto adjust' possible?
Posted By: velddriel
Subject: Colomn name 'auto adjust' possible?
Date Posted: 30 October 2017 at 5:29am
Hi,

Is it possible to 'auto adjust' column names?
Example a column has the name -Price incl. VAT-
Because of this name, the user has to set it's columnwide bigger than he actually needed. Otherwise the column name cannot be read.
When you resize the column wide (make it smaller), is it then possibe that this column name is automatically devided/split over 2 or 3 lines like:

Price
incl.
VAT

TNX!



Replies:
Posted By: olebed
Date Posted: 01 November 2017 at 7:37am
Hello,
    wndReportControl.PaintManager.FixedRowHeight = False
    Set Column = wndReportControl.Columns.Add(COLUMN_SUBJECT, "Subject. Very very long name of column 123", 180, True)
    Column.HeaderAlignment = xtpAlignmentWordBreak

Regards,
 Oleksandr Lebed


Posted By: velddriel
Date Posted: 01 November 2017 at 1:42pm
TNX! Going to try!



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