10-08-2013 09:33 PM
Hi , I use a tree control in a VI. I insert a symbol before the child item1, in the picture one. When the mouse double clicks, I want the symbol to change in the picture tow. Thanks.
10-08-2013 09:35 PM
picture in the attachment.
10-09-2013 01:56 AM
You can use the Active item->Symbol-property to change the icon.
/Y
10-09-2013 10:53 AM
You'll probably want to check the current symbol. If it is already a 5...change it to 4....and vice-versa.
10-10-2013 07:16 AM
There is a great example here on tree controls including changing the symbol for open and closed states.
https://decibel.ni.com/content/docs/DOC-25645
Mike
10-10-2013 07:42 AM
thanks