LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

define font of table headers?, column & row

Hi!

Is it possible to set the font of a title coulum and title row to e.g. bold?
I have seen its possible to set the font, but this is only for the whole table (over a propertynode).

I like to have only the titles in bold.
~~~~
Regards
Sarah

LV 7.1.1
0 Kudos
Message 1 of 4
(4,151 Views)
Salutations,

I believe you're using a multicolumn listbox. If you type in the necessary text, you can always bold it by going to the toolbar section near the puase button. In there, it has "style" and you can select bold (currently this button is labeled 13 pt application font" for me).

Once this is set, it seems to remember the formatting for this location. That way your column and row headings will always be bold.

Is there a quick way to do this? My quick investigation didn't turn anything up. The property node theory, which is one of the best ways to deal with such tasks, doesn't seem too useful. But, I could be wrong.

Hopefully this helps,
Sincerely,
ElSmitho
Message 2 of 4
(4,148 Views)
Hi ElSmitho ,

no, it's not a multicolumn listbox, it's a table 😉
But to set the font over the toolbar, works.

But maybe there is a propertynode solution.
~~~~
Regards
Sarah

LV 7.1.1
0 Kudos
Message 3 of 4
(4,142 Views)
I have wondered also if this feature was available, mostly for multicolumn listboxes which is what I use. To the best of my knowledge, it is not available, which means manually and laboriously changing each one by hand. The same goes for justifying text elements within the table.

Something that can change the look of the headers however without making it bold, is to set the foreground and background colors of the header cells. You can do this for each cell using the "ActiveCell" property node and a -1 value to reference the header, either for the row value or column value. After setting the ActiveCell you can set the colors of the cell using the CellFGColor and CellBGColor properties.
Message 4 of 4
(4,128 Views)