04-21-2009 04:23 AM
Hi,
Can I programtically change the font size of parent item and child item in the tree control.
In my application the parent and child items are changing programatically. ie the content of tree control is not constant it is dynamic.
I am using labview 8.6
Thank You
Assumptha.
Solved! Go to Solution.
04-21-2009 06:54 AM - last edited on 09-01-2015 02:51 PM by dcarva
Right-click the tree control and select "create>propery node" then:
04-21-2009 07:13 AM
Hi Christian M.
Thank you for ur reply. It worked
Regards
Assumptha
04-21-2009 07:25 AM
05-13-2009 03:37 PM
That does work...
To keep this line of instruction under the same title, how do you change ALL the text? not just the active cell? i've tried double clicking, then editing text properties using the font dialog (ctrl + 0) on a non-running vi, then saved it, and hit run. but it always reverts to some preset font properties values, and i don't know where they're being set....???
Any help would be greatly apprec!
10-15-2012 12:51 AM
My question is same as joshuatree. How would I change the whole tree controls font size dynamically? I can only change the font size of the active cell using the above said method. What about changing each cell's font size dynamically?
We can do it in editing mode by Select Tree Control>>Text Settings>>Size>>(9,14,28 or whatever size we required). This does changes font size for each individual cell. I wan't to the same thing dynamically.
Thanks,
Ajay
10-15-2012 01:20 AM
Its a three year old thread !
10-15-2012 01:35 AM
Frabto,
Thanks for the reply. The solution is yet not alike changing the font of the whole tree control in edit mode. Because, I need to know the number of rows and coloumn for the given soution. But in my program, the tree grows dynamically (where I don't have any control over or can't edit it).
Thanks,
Ajay.
01-30-2024 06:33 AM
Hi,
Is it possible to change the Tree control's header font size programmatically?
Thanks,
Kishore N
01-30-2024 08:08 AM - edited 01-30-2024 08:10 AM
You can use the code from messages 7 and wire -1 to ActiveColNum, this selects all column headers.