LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree control, Disable but still use Scrollbar?

Solved!
Go to solution

@PMN1966 wrote:

 

 

Another question. Is there a way to do the same with Indent/outdent? (still without allowing to change the value(s)) 

Look at the different events the Tree control has. Your Indent/Outdent is called Open and Close in the LabVIEW events. And the red variants of those events with the ? at the end are so called filter events. By wiring True to the Discard?  terminal in that event you can tell LabVIEW to ignore the event.

 

Since you want to allow the Open and Close of nodes, you won't filter the Open/Close events itself but you have to step away from disabling the control and probably look at the Edit Cell? filter event instead. Passing True to the Discard?  terminal in there will disallow a user to edit any value. 

Rolf Kalbermatter
My Blog
Message 11 of 11
(211 Views)