Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editbox dragover question.
Message
De
28/09/1998 05:22:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/09/1998 04:58:52
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00141340
Message ID:
00141344
Vues:
20
>Hi,everybody
>
>I want to drag a commandbutton caption to an editbox,everything is fine but I want to know how to convert nXCOORD and nYCOORD from pixel to col/row in order to locates the insertion point as user moves the mouse.
>
>PROC EDITBOX.DRAGOVER
> LPARAMETERS oSOURCE,nXCOORD,nYCOORD,nSTATE
>
>ENDPROC
>
>Thanks for any comment in advance
thisform.scalemode = 0
if nState = 2
   nRowPos= nXcoord-this.left
   nColPos= nYcoord-this.top
endif
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
Répondre
Fil
Voir

Click here to load this message in the networking platform