06-08-2010 03:35 AM
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
06-08-2010 03:45 AM
Hi nolsqn,
can you show what you have done so far? Do you get an error?
Mike
06-08-2010 03:53 AM
Hm, works quite well for me:
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
06-08-2010 04:43 AM
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 .
06-08-2010 04:51 AM - edited 06-08-2010 04:54 AM
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.....
06-08-2010 05:13 AM
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 .
06-08-2010 05:36 AM
hi i have modified my vi .. but still of no use .. i am getting an error that input parameter invalid .
kindly have a look
06-08-2010 06:52 AM - edited 06-08-2010 06:54 AM
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.