rharmon@sandia.gov Posted May 13, 2021 Report Share Posted May 13, 2021 I can't seem to find a consistent means of retrieving the row and column using a mouse click inside a table cell. Property nodes "Edit Cell" and "Selection Start" seem to work sometimes... sometimes I get -2 and -2, but sometimes I even get the wrong row column... It just doesn't seem to make any sense to me... I'm probably doing something really stupid, but I'll be darned if I can figure out what the stupid thing I'm doing???? Thanks Quote Link to comment
rharmon@sandia.gov Posted May 13, 2021 Author Report Share Posted May 13, 2021 OK, I found my stupid... Right after I posted... I had setup my event structure wrong... too fast on the mouse... I was getting the Previous row/column when they were wrong... Not sure why I got -2 -2... Not going to worry about that now... Thanks for looking at my post and laughing... I'm sorta laughing too... Quote Link to comment
MikaelH Posted May 14, 2021 Report Share Posted May 14, 2021 This is how you do it (the right way) 😉 Quote Link to comment
rharmon@sandia.gov Posted May 20, 2021 Author Report Share Posted May 20, 2021 Thank you... I'll update my VI and do it the right way 👍 Honestly I would have never come up with this way... I truly appreciate your post... Bob Quote Link to comment
MikaelH Posted May 20, 2021 Report Share Posted May 20, 2021 Many controls have invoke nodes like this to convert the click position to more meaning full info, e.g. where in the X/Y plot you click. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.