LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Identify row and column during "mouse over"

Solved!
Go to solution

Hi!

   I have a text table in which, when i move the mouse over, I would like to know row and column ot the cell I am over.

Is there something already done to do it?
Else I have to calculate it from the (X,Y) coordinates, changing active cell on the first row to know the width of every column?
thank you

0 Kudos
Message 1 of 5
(2,084 Views)
Solution
Accepted by topic author gepponline

Hi gepponline,

 

there is a Method for the table to convert XY coordinates to cell position…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO
0 Kudos
Message 2 of 5
(2,075 Views)

Hello,

 

I've added an example with a solution to your problem. I'll hope this will help you forward. Good luck!

 

Kind regards,

Richard Meijeringh (Certified LabVIEW Developer)

 

CLD_small.png

0 Kudos
Message 3 of 5
(2,053 Views)

Thank you so much!

I really ignored that that method existed!
Was it there since a long time or only in newest version of labview? 

0 Kudos
Message 4 of 5
(2,027 Views)

That method was not always there. In old version of LV we had to bend over backwards to do the conversion you had mentioned and keep track of any scroll bar.

 

I try to read the update notes regularly but I can not recall reading about that addition. Add to that fact it is a "method" and not a property it is even more obscure.

 

So how new?

 

I can not say.

 

I can say that the old adage I was taught when I started labVIEW "If in doubt, right click." has been expanded to include looking at the methods in addition to the properties.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(2,021 Views)