From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
FixedWire

Tree Control Symbols

Status: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

Changing the symbols on the tree control isn't easy at all, even the first 40 available ones. It would seem logical that on a double click event, the tree control would know the active item. Unfortunately it doesn't and should be changed. Here's some simple code that illustrates the extra code needed. This necessary code is not anywhere on the NI website or in the examples. Only a lavag.org thread provided a subtle hint...thank you crelf!

 

Tree Control Symbol Select.png

 

 

 

 

2 Comments
Norbert_B
Proven Zealot

While i concur that handling symbols seems over-complicated, i find the suggestion not very general.

The problem is that if you ask four users about "what should do what in the tree", you get four different statements.

 

Example:

- Double click expands the branch without selecting it.

- Double click selects the item (no expand)

- Double click selects with expansion

- Double click selects the item and all children

- NO, selection is always done with a single right-click

- ...

....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.