Hello,
i using the following code to perform the movement of a node.
procedure TForm1.AdvFavTreeDragDrop(Sender, Source: TObject; X, Y: Integer);
var TargetNode : TAdvTreeViewVirtualNode;
SourceNode : TAdvTreeViewVirtualNode;
begin
AdvFavTree.BeginUpdate;
SourceNode := AdvFavTree.SelectedVirtualNode;
TargetNode := AdvFavTree.XYToNode(X, Y);
AdvFavTree.MoveNode(SourceNode.Node,TargetNode.Node, SourceNode.ParentNode ) ;
AdvFavTree.EndUpdate;
end;
After the node has been moved, there is only a white rect at the destination position.
A manual mouse click solves the issue.
I have tried a .update , .refresh , .repaint command after the drop, but nothing has an effect.