Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse coords problem
Message
De
01/09/1998 09:04:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/09/1998 07:02:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00131837
Message ID:
00131855
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform