Re: VFP6: Drag and Drop of a text box

Author: Jack Skelley

Posted: 1999-12-10 at 14:56:10

Ed, Daniel, Art:

Thanks for the help.

I (guess) I was on the right track but omitted the selstart = 0.

When I included that line it worked just the way I had hoped it would.

Thanks again.

Jack

skelley@newjerseydevils.com

dtutuc@danube.hu wrote:

> Try this:

>

> in your textbox1' MouseDownEvent put this code

>

> LPARAMETERS nButton, nShift, nXCoord, nYCoord

> if nButton=1

> this.selstart=0

> this.sellength=len(this.value)+1

> this.drag(1)

> endif

>

> It worked for me

>

> HTH

>

> ___________________

> Daniel Tutuc

> System Administrator

> Danube Knitwear Ltd

> Email: dtutuc@danube.hu

>

> ----------------------------------------

> To unsubscribe, send a message to: macjordomo@leafe.com, and include the line

> UNSUBSCRIBE profox

> in the message body. Or go to http://leafe.com/mailListMaint.html and follow

> the instructions there.

> ----------------------------------------

>

©1999 Jack Skelley