LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I disable (.) & (,) indent/outdent functionality on a tree control

LV 7.1.1
 
I have a tree control that I want the user to be able to select an active entry, but I prefer that they not be able edit the entries in any way, including indenting/outdenting items. The (.) and (,) keys indent and outdent during runtime, and I can't find a way to disable this and still be able to select an active item on the tree.
 
 
0 Kudos
Message 1 of 3
(2,723 Views)
You can do it this way.  Use the Event structure Key Down? Event and discard it if a comma or period is pressed.
Message 2 of 3
(2,716 Views)
Thanks - exactly what I needed.
0 Kudos
Message 3 of 3
(2,713 Views)