OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Mbk Hk on February 17, 2025, 02:43:41 PM

Title: Sort - Change positions of items on Tree
Post by: Mbk Hk on February 17, 2025, 02:43:41 PM
after several attempts to manually sort the elements of a Tree (Drag N Drop), using "DragOverFromControl" events, I was unable to achieve this.
Now I'm wondering if it's possible to change the position of an item (within the same parent) programmatically?
So if an item "Test2" is the 4th child of "TestParent", change its position to became 7th !

Thanks !

Title: Re: Sort - Change positions of items on Tree
Post by: owenwengerd on February 19, 2025, 10:18:35 AM
I just did a quick test of the Tree sample, and was surprised that it didn't work. I would think this should be possible, but I don't have time at the moment to look into it.