LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

list tree change font

hi all ....

i am trying to change the font in the list tree .. but some how i am not able to use the property node correctly .. i try to increase its font or change its color or writing styile while the vi is running. I know i have to use the property node but its not working. 

 

with regards 

 

Regards
0 Kudos
Message 1 of 8
(3,716 Views)

Hi nolsqn,

can you show what you have done so far? Do you get an error?

 

Mike

0 Kudos
Message 2 of 8
(3,712 Views)

Hm, works quite well for me:

ListBoxFontChange.png

 

Please note that i suggest you to typify a combo box for the Font Name selection. The names of the fonts are e.g. Courier, Times New Roman, MS Sans Serif.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 8
(3,702 Views)

hi .. i have attached my vi ... i want to change its font in the run time ... also i m using invoke node to write on the list tree as it is running so on the front panel the diplay keeps blinking ... is there a way to remove it ...

also i need to change the font in rum time .. is it posible using the property node 

 also 

Norbert B you hav used multicolumn list box and i m using a list tree .. both have different properties .

Regards
0 Kudos
Message 4 of 8
(3,688 Views)

The difference is very low in regard to your request. Instead of "Active Row", you would use "ActiveItemRowNumber". The rest of my screenshot is also valid for a tree control.

 

Norbert

 

EDIT: The blinking is created by the way you write the values: you repeatedly update the tree control with new values (even if they do not change) and you do it as fast as your system can execute it. This is bad. First of all include a delay in your while-loop. Secondly, change the content of the tree control only if your really want it to change. You are wasting lots of resources otherwise.....

Message Edited by Norbert B on 06-08-2010 04:54 AM
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 8
(3,686 Views)

hi Norbert B.....

i have been trying to minimize the resourses.... but as u can see the names are contant which i donot want to write but i donot want to add the names every time ... if you mey be edit my VI . 

Regards
0 Kudos
Message 6 of 8
(3,675 Views)

hi i have modified my vi .. but still of no use .. i am getting an error that input parameter invalid .

kindly have a look

Regards
0 Kudos
Message 7 of 8
(3,666 Views)

You should enter -1 or -2 for the ActiveItemRowNumber.  

 

See image below courtesy of the Context Help:

 

 

 

Do you really need the outer While Loop?  I would remove it.  You could make your code a vi that gets called if you change any value(s).  That would eliminate the annoying blinking of the values.

 

Message Edited by Ray.R on 06-08-2010 07:54 AM
0 Kudos
Message 8 of 8
(3,646 Views)