>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