LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to I control the with of an colums in a table ?

I would like to auto size the width of the columns by the label of the columns.

thanks David
0 Kudos
Message 1 of 2
(2,826 Views)
You can use GetTextDisplaySize() to obtain the size in pixels of the column label text, and then set column width with SetTableColumnAttribute (panel, control, columnIdx, ATTR_COLUMN_WIDTH, value);

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,826 Views)