View previous topic :: View next topic |
Author |
Message |
jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Sun Mar 21, 2010 9:39 pm Post subject: Drag textbox content to another |
|
|
Greetings and salutations.
I would like to click on a textbox, txtBoxA, highlight its content and drag it to another textbox, txtBoxB, and copy the content of txtBoxA to txtBoxB. I am having problem doing that.
Any help would be greatly appreciated.
thanks,
jose |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Sun Apr 04, 2010 1:53 am Post subject: Re: Drag textbox content to another |
|
|
How about following the built-in drop.d example? Perhaps before calling doDragDrop you can get the currently selected text in the textbox, and use that as the data to pass to doDragDrop; it's important to enable allowDrop.
jicman wrote: | Greetings and salutations.
I would like to click on a textbox, txtBoxA, highlight its content and drag it to another textbox, txtBoxB, and copy the content of txtBoxA to txtBoxB. I am having problem doing that.
Any help would be greatly appreciated.
thanks,
jose |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|