LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree column header event

Hello everyone,
 
        I need to perform an operation when any of the column headers in a tree is clicked. How can I do this? Is there an event for this?
 
Thanks,
Vasanth.
Ya Ya
0 Kudos
Message 1 of 6
(3,128 Views)
Use the Mouse Down event and then use the Point to Row Column VI Server method of the tree control to convert the mouse coordinates to tree coordinates.  There is also a good utility function inside <vi.lib\tree\Tree Point Converter.llb> that will convert the mouse coordinates to useful information about which row/column/header is clicked.
Message 2 of 6
(3,124 Views)
Jim,
 
        Thank you so much. That worked. Great!
 
Thanks,
Vasanth.
Ya Ya
0 Kudos
Message 3 of 6
(3,117 Views)
Jim,
 
                The Point to row-col.vi (7.1) is working fine with LabVIEW 7.1 but If I run the same vi in LabVIEW 8.2, it is popping up an error. You have any idea why this is happening?
 
Thanks,
Vasanth.
Ya Ya
0 Kudos
Message 4 of 6
(3,097 Views)
Hi Vasanth,

You need to provide more descriptive information about the error.  For example, what is the error code number and message string?

-Jim
0 Kudos
Message 5 of 6
(3,094 Views)

Jim,

         Sorry, I hereby have attached the error pic for your view.

 

Thanks,

Vasanth.

Ya Ya
0 Kudos
Message 6 of 6
(3,091 Views)