SirWinston8
asked on
Drawing problem with own DragImage in Treeview
Hi experts,
if I use a own DragImage within a class, derived from TDragObject, then they
nodes are not correctly drawn while I move with the DragImage over the treenodes?
If I move beside the treenodes they are drawn correctly!
I think that anyone is wrong in my use of TDragObject???
Can anyone help me??
regards
William
if I use a own DragImage within a class, derived from TDragObject, then they
nodes are not correctly drawn while I move with the DragImage over the treenodes?
If I move beside the treenodes they are drawn correctly!
I think that anyone is wrong in my use of TDragObject???
Can anyone help me??
regards
William
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I mean paste some code here :)
ASKER
Thank you for your fast help!
You take me on the right way, I forget to override these methods in my DragObject:
procedure TMyDragObject.ShowDragImag e;
begin
FDragImages.ShowDragImage;
end;
procedure TMyDragObject.HideDragImag e;
begin
FDragImages.HideDragImage;
end;
To refresh the Treeview is not neccesary!
Regards
William
You take me on the right way, I forget to override these methods in my DragObject:
procedure TMyDragObject.ShowDragImag
begin
FDragImages.ShowDragImage;
end;
procedure TMyDragObject.HideDragImag
begin
FDragImages.HideDragImage;
end;
To refresh the Treeview is not neccesary!
Regards
William