>Hi all,
>
>I have problem with mouse coords and toolbar.
>If I use MRow() and MCol() to determine mouse coordinates and I use them as a parameters of define popup .. from, menu appears at different coords then the mouse pointer has.
>
>Can you help me?
>
>Petr Valach
Petr,
mrow(), mcol() use main VFP window coordinates and not in pixels but foxels. To convert it to form coordinates you could use scalemode and objtoclient(). But instead it might be easier to use nX/Ycoordinate in mouse* events of form.
Cetin