all groups > vb.net controls > april 2005 >
You're in the

vb.net controls

group:

Communication between two User controls



Re: Communication between two User controls Chris Murphy via DotNetMonster.com
4/15/2005 12:00:00 AM
vb.net controls: Well, with most Drag and Drop routines, you're typically (should be at
least) checking to see if the target node/location of the node you are
dragging is a valid drop point. It's usually a simple case of True/False,
if True then use the .Remove() method for removing the selected node from
the source TreeView Control.

--
Communication between two User controls Ben Wallace (3)
4/15/2005 8:28:23 AM
I have a form which consist of two User Controls. Each of the two user
controls contain each a treeview control. we'll call the two controls UC_a
and UC_b. When I drag and drop a node from UC_b's tree control onto a node
on UC_a's tree control. What would be the most efficient way to remove the
node being dragged from UC_b's tree control as it is dropped onto UC_a's
tree control? I need a way to remove the currently active node, any advice.


Ben


AddThis Social Bookmark Button