>Hi all,
>
>Is there a function that converts the nXCoord, nYCoord parameter values of MouseUp() event to pixels or foxcels relative to the _screen area?
>
>TIA.
You don't really need a function for that.
From Help:
nXCoord, nYCoord
Contains the current horizontal (nXCoord) and vertical (nYCoord) position of the mouse pointer within the form. These coordinates are always expressed in terms of the form's coordinate system in the unit of measurement specified by the ScaleMode property of the form. The default value for ScaleMode is 3 - pixels. So, you will just need to add Form.Left or Form.Top to your coordinates to get the corresponding position relative to _screen.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison