Started by domenicomaria ·
2024-03-13 04:15 UTC ·
5 replies · SMF topic #2916
domenicomaria
2024-03-13 04:15 UTC
If I drag an item from the tree-00 control to the tree-01 control,
the source item is removed from the source tree
but nothing happens in the target tree ...
...
what is the trick to MOVE an item from a tree to another one ?
i am not able to know what is the item of the target tree where the source item is dropped ...
what have I to do ?
domenicomaria
2024-03-13 06:30 UTC
and I need also to move an item in the same tree control from a position to another (always with drag&drop)
I am trying to use
dragoverfromcontrol and dcl-Tree-AddSibling
without success
I would need an example
owenwengerd
2024-03-14 04:18 UTC
I believe the Drag N Drop sample shows drag/drop in a single tree control, and also between tree and list controls.
domenicomaria
2024-03-14 08:30 UTC
author=owenwengerd link=msg=13990 date=1710389896 wrote:
I believe the Drag N Drop sample shows drag/drop in a single tree control, and also between tree and list controls.
Thanks for the reply.
But with
drag&drop I can't MOVE an element from one TREE control to
another
And I can't even MOVE an item from one location to another in the
same control.
owenwengerd
2024-03-15 04:05 UTC
It is working fine for me in BricsCAD V24. I don't know why it isn't working for you.
domenicomaria
2024-03-15 09:28 UTC
I tried your sample TREE.lsp
also in acad2024
and it is not possible using drag&drop
to MOVE an item from a tree control to another
and in the same tree, from a position to another ...