08-02-2011 06:19 PM
Hi guys,
I am new to tree control. I am trying to programmatically modify the the status of the second column without changing the left cell text of the tree control (please see attached picture). Can you please point me to the right direction? I use Labview 8.5. Thanks.
I am pretty new
Solved! Go to Solution.
08-04-2011 02:59 AM
Hello,
There is a feature in LabVIEW, called property node. With property node you can programatically change front panel objects. You can make property node with right-clicking on object you want to change programatically, and go Create>Property Node and then you have all the properties of selected object you can change programatically. When you created property node, you can change access (read/write) with right click, and then you choose Change All To Write or Change All To Read, depending on what you have selected.
In your case you will need 3 properties:
Active Cell > Active Column Number - sets/reads active column number
Active Item > Row Number - sets/reads active column number
Active Cell > String - sets/reads the item's string
If you still have any questions fell free to ask.
Regard,
Gregor Cerne
08-04-2011 10:10 AM
Good morning,
In addition to Gregor's post, please see this example for using property nodes with trees.
Regards,
Lisa