LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to get the indices

of a cell which is clicked by mouse. I used the GetTableCellFromPoint() function but it doesn't work well. If I click the cell(2,4), it returns (0,0). Please tell me about the solution for the problem. If you have any idea, please let me know it. Thank you
0 Kudos
Message 1 of 2
(2,840 Views)
of a cell which is clicked by mouse. I used the GetTableCellFromPoint() function but it doesn't work well. If I click the cell(2,4), it returns (0,0). Please tell me about the solution for the problem. If you have any idea, please let me know it. Thank youI think you must be entering the mouse position in the wrong order of the Point structure. I attached an example to show how this works with a left click event (ZIP file).

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 2
(2,840 Views)