Hi!
MROW() and MCOL() have a second parameter. Put 3 in there and you will get mouse position in pixels, that is much more reliable.
>thanks a lot, i found the problem, when use the fox ide the _screen.fontname is arial and fontsize=8 but in the exe standalone the font are fixedsys and size to 11, that the reason why dont work my mdown with mcol("_screen") function in a resize bar custom control, the only thing i need is send the font and size to _screen and all works fine.
>
>
>Best Regards
>
>>MDOWN() function returns .T. or .F. Where do you get position in foxels from?
>>
>>>hello people, when using mdown() in VFP Interactive i obtain 204,6 foxels, but when compile to exe and run the same function with the same position i obtain 127,75, someone see this approach?, how i can fix?
>>>
>>>thanks in advance
>>>
>>>with Best Regards
>>>
>>>Francisco Morosini
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.