Re: VFP6: Drag and Drop of a text box

Author: dtutuc@danube.hu

Posted: 1999-12-10 at 14:21:01

Try this:

in your textbox1' MouseDownEvent put this code

LPARAMETERS nButton, nShift, nXCoord, nYCoord

if nButton=3D1

this.selstart=3D0

this.sellength=3Dlen(this.value)+1

this.drag(1)

endif

It worked for me

HTH

___________________

Daniel Tutuc

System Administrator

Danube Knitwear Ltd

Email: =A0 dtutuc@danube.hu

=

©1999 dtutuc@danube.hu