MatrixVB question:
Recently I am writing a software using VB with the help of MatrixVB. I feel one can do many things easily using VB together with MatrixVB easily compared with other languages such as C++. However, when I plot a line in a axis in a picture , I want to obtain the coordinates of the point I clicked in the axis, I think the only way is to control the handle of axis to solve it . So I set the property of the axis "mousedownfcn" as "getacoor", "getacoor" is a function I created through the Tools menu to add a function. when the axis is plot I randomly click in the axis , nothing happened,no error information and no action. I wonder if there is something wrong with my idea of solving this problem.
My problem is how I can obtain the coordinates of the point I click in the axis plotted using MatrixVB.
I always think the function called by clicking the axis is different from the function created by VB directly. Any engineer who can help me to slove this problem is appreciated very much.