Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Colomn name 'auto adjust' possible?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Colomn name 'auto adjust' possible?

 Post Reply Post Reply
Author
Message
velddriel View Drop Down
Groupie
Groupie


Joined: 27 November 2010
Location: The Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote velddriel Quote  Post ReplyReply Direct Link To This Post Topic: Colomn name 'auto adjust' possible?
    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!
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
velddriel View Drop Down
Groupie
Groupie


Joined: 27 November 2010
Location: The Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote velddriel Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2017 at 1:42pm
TNX! Going to try!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.