Hi Richard
I've noticed that it is not possible to start a drag operation on a node if the mouse is used "NodeMouseDown" on the image in the node; the text of the node must be "NodeMouseDown" for the drag to start.
Do you know if this is a kown issue or is it related to the extra checkbox you helped me put onto my custom node the other day. I was speculating that the extra item in the element tree was screwing with the event somehow?
My NodeMouseDown event looks like this
I've noticed that it is not possible to start a drag operation on a node if the mouse is used "NodeMouseDown" on the image in the node; the text of the node must be "NodeMouseDown" for the drag to start.
Do you know if this is a kown issue or is it related to the extra checkbox you helped me put onto my custom node the other day. I was speculating that the extra item in the element tree was screwing with the event somehow?
My NodeMouseDown event looks like this
private
void
tvAlphaWorkspace_NodeMouseDown(
object
sender, RadTreeViewMouseEventArgs e)
{
if
(Control.MouseButtons == MouseButtons.Right)
{
workspaceContextNode = (RadCustomTreeNode)e.Node;
}
if
(Control.MouseButtons.Equals(MouseButtons.Left))
{
workspaceDragNode =
null
;
workspaceDragNode = (RadCustomTreeNode)e.Node;
workspaceDrag =
true
;
if
(workspaceDragNode.Text !=
"Executables"
)
{
tvAlphaWorkspace.DoDragDrop(workspaceDragNode.Tag, DragDropEffects.Copy);
}
else
{
workspaceDragNode =
null
;
workspaceDrag =
false
;
}
}
}