08-07-2015 06:04 AM
Hi,
I have built a code for using checkbox symbol in tree function and stuck to get the selected check box item.
Actually my requirement is to to use tree with check box and do the multiple selection and get the selected item list. I have completed till the Check box selection but not able to get the all selected item list.
I have attached the code for your reference.
Please let me know hot to do this, If any one knows .
Thanks in advance
Solved! Go to Solution.
08-07-2015 02:42 PM
I can't open your VI so i apologize if this doesn't answer your question. But you only need to use the tree terminal to get an array of the selected items. The VALUE property node also returns the same list. The images are only for visual effect.
08-07-2015 03:14 PM
Maybe this...
08-10-2015 04:09 AM
Thanks for your help.
This one only.
08-10-2015 04:10 AM
Thanks for support
08-10-2015 10:32 AM
Sorry I didn't get here sooner, here is some example code I made a while ago that supports listboxes, MCLB, and Tree selections. It also supports nested levels to the tree, select all or select none, and selecting deselecting parent items, and partial selection of parents if children selection are mixed. Oh and it supports disabling items so the user can't change the selected state.
https://decibel.ni.com/content/docs/DOC-42155
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-28-2017 06:48 AM
Hello Community!
I have created a program with a multiselection tree like in this example. Does anyone know how can I prevent or allow the user to select and unselect items of the tree? Thank you very much for the help
08-28-2017 07:49 AM - edited 08-28-2017 07:49 AM
The example I linked to already shows disabling items from user selection. All that is needed is to disable the item by right clicking it in edit time. Or you can enable and disable items using the tag and the Active Item Tag, and then the Disabled? properties at runtime. My code will then look at which symbol was clicked by the user, and not allow it to change state if that tag it disabled.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-07-2020 03:02 AM
Hi,
May I know how you have taken symbol enum constant ?
I am trying to create constant out of Item symbol property node, it is giving me numeric constant only.