Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse coords problem
Message
From
01/09/1998 09:04:47
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/09/1998 07:02:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00131837
Message ID:
00131855
Views:
25
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform