FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Drag textbox content to another

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
jicman



Joined: 22 Dec 2004
Posts: 298
Location: Rochester, NY

PostPosted: Sun Mar 21, 2010 9:39 pm    Post subject: Drag textbox content to another Reply with quote

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
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Sun Apr 04, 2010 1:53 am    Post subject: Re: Drag textbox content to another Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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