Click here to Skip to main content
15,921,884 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to drag and drop text between two textbox controls in winforms by VB.net.thanks.
Posted

it's a default windows facility why do you want code for that ?
Just select whole word from Textbox1 and drag it to textbox2. just try this.
 
Share this answer
 
Comments
pucx 16-Dec-11 6:16am    
but in vb.net winforms isn't have this facility .
Google is your friend. Here's one link I found in less than five seconds:

http://www.programmersheaven.com/mb/VBNET/248350/248350/copy-text-from-a-txtbox-to-another-by-drag-n-drop/[^]
 
Share this answer
 
Comments
pucx 16-Dec-11 6:30am    
Thanks for you answer.but it isn't work corretly.when I drag and release my mouse at the same control,this control's text is changed.but how can I selcect some chars to drag and drop????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900