Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editbox dragover question.
Message
From
28/09/1998 05:22:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/09/1998 04:58:52
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00141340
Message ID:
00141344
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform