ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tree control interactive cell

I am trying to organize program options in a tree. Some can be changed at runtime. How do I make the 2nd columns in the tree accept user input?
+ Parameter Selection
|-- X=................| Enter value here
Thank you very much.
0 Kudos
Message 1 of 4
(3,347 Views)
Hello �

From your description, I understand that you are trying to type some text in the 2nd column of a tree control during run time.

One way of doing this is by using an Invoke Node. Please see the VI I have attached. The case structure is for you to have time to type the text you want to add in the �Text to be written:� control. Otherwise, new items are added continuously. Press the �Write� button when you are ready to send the text to the tree control.

Hope this helps.

S Vences
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,351 Views)
Thank you very much for your help. Your suggestion is essentially the way I do it now. I had something more fancy in mind, sort of in-line input. I guess the closest description is showing a text control/ring/enum in place of the second column and storing the input from that to the child text. The whole button concept seems not very intuitive and cumbersome. Thanks.
0 Kudos
Message 3 of 4
(3,347 Views)

Hi Vences,

I am currently working in editing the MAX configuration as user friendly without opening the MAX. I need to create editable cells in a tree control that allows the user to edit the configuration information directly. I have attached the sample image.

I tried to do it but I couldn't find the correct way. Please help me regarding this.

Thanks,
Ramkumar.D
QuEST, INDIA.
0 Kudos
Message 4 of 4
(3,230 Views)