Jump to content

Get the row column of a table using a mouse click?


Recommended Posts

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 

Link to post

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...

Link to post

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.
image.png.d3b8dcfdf2c5615a9810e98bfc53735e.png

  • Like 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.