Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2008

Tip: Looking for answers? Try searching our database.

tree view

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 08 Jan 2008 16:50 GMT
I would like to impliment cut, copy, paste functionality on selected nodes
(and sub nodes) of a tree view control that resides on a windows form. How
can I do this?
Signature

Steve H.

Robbe Morris - [MVP] C# - 09 Jan 2008 02:33 GMT
Look at this drag and drop sample:

http://www.eggheadcafe.com/tutorials/aspnet/847ac120-3cdc-4249-8029-26c15de209d1
/net-treeview-faq--drag.aspx


Instead of reacting to the events for drag, you just initiate the methods
to grab the selected node and then do something with it.  By default, it
you move the top node of a branch, all nodes under it will maintain
their reference to it when it is relocated.

Signature

Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
Free download:  http://www.equalssolved.com/default.aspx

>I would like to impliment cut, copy, paste functionality on selected nodes
> (and sub nodes) of a tree view control that resides on a windows form. How
> can I do this?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.