LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change font size in container textbox

Solved!
Go to solution

Hi, I am able to change the font size using a String control by Create > Property Node > Text > Font > Size

 

But I need to use a Textbox container. How can I change the font size in a Textbox container? I am using LabVIEW 2015.

I can reach Create > Property for System.Winfows.Forms.TextBox Class > Text                      With this I can programmately change the text but not the size.

 

Regards,

Hans

0 Kudos
Message 1 of 3
(156 Views)
Solution
Accepted by topic author hasse

You need to read the current font, create a new one with similar values except the size, and replace it with that:

 

Kyle97330_1-1731710577696.png

Example VI attached

Message 2 of 3
(129 Views)

Thank you Kyle, that was exactly what I needed !

0 Kudos
Message 3 of 3
(110 Views)