LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Scripting in LabVIEW 2012: change font size of tab control page labels (description)?

Hi all,

 

I use LabVIEW 2012 with VI Scripting and need to set the font size of the tab control page labels (descriptions).

 

It is possible to set the font of the tab control label but I couldn't find any possibility to do this for the tab control page labels (descriptions).

 

I hope you can help in this case. I need to do it programmatically!

 

Best regards

Sue_3

________________________
Certified LabVIEW Developer
0 Kudos
Message 1 of 3
(3,346 Views)

I'm quite sure it is currently not possible to do that.

 

One if quite a few cases where font-settings are not accessible programmatically, like e.g. have a look at all the elements of the graphs.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 2 of 3
(3,290 Views)

As a messy workaround you could put a simple string indicator ("classic Controls") on every tab over the page labels and change the text style/size etc. to your liking. Trouble is - the bound of the string indicator resizes while increasing the size of the text. As "size to text" doesn't work here maybe you can get the appropriate size from somewhere else. Document Bounds is not it, as I just found out. Possibly you should just use a free label, but I don't know whether their text is settable at runtime and their background can be altered.

 

However - I think, you get the idea. Maybe it's worth 30 min testing...

0 Kudos
Message 3 of 3
(3,240 Views)