LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ATTR_SELECTION_MODE

hi,

In tree control, i need to set tree selection mode to VAL_SELECTION_MULTIPLE,through which control attribute can i do this? i am looking into SetTreeItemAttribute but i didnt find it. can anyone tel me how to set tree selection to multiple.

thanks in advance.........

0 Kudos
Message 1 of 2
(3,011 Views)

The selection mode is a general attribute that refers to the whole tree control: for this reason it cannot be found within the item attributes, it is a control attribute instead.

 

Set it with SetCtrlAttribute (panelHandle, controlID, ATTR_SELECTION_MODE, VAL_SELECTION_MULTIPLE);
 

 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,009 Views)