Hello,
TreeGadget is a good gadget and works fine, but is not easy to manage. Adding and deleting elements is easy, but moving them is not, especially if the Item contains sub-branches. I think it would be interesting to add a new function related to move items.
There are many examples on the forum, but I think it would be good for the professional side of PB to add a native feature.
A function can be like this:
MoveGadgetItem()
Result = MoveGadgetItem(#Gadget, Position_From, Position_To [,Flags])
Flags (optional)
#PB_Tree_After : Item will be moved AFTER Position_To (default)
#PB_Tree_Above : Item will be moved ABOVE Position_To
#PB_Tree_SubTree : All sub tree will be move also (default)
All defined properties should follow (ItemData(), Color, State (expand/collapse), Icon, CheckBox status)
How about that ?
TreeGadget: MoveGadgetItem()
-
- User
- Posts: 71
- Joined: Thu May 02, 2019 3:57 am
- Location: USA
- Contact:
Re: TreeGadget: MoveGadgetItem()
This is a great idea. Many times I wanted to move tree branches but could not. I hope it is implemented.
There are many other tree functions that other compilers have, but are missing from PB.
Robert
There are many other tree functions that other compilers have, but are missing from PB.
Robert
-
- Enthusiast
- Posts: 237
- Joined: Tue Feb 14, 2017 12:07 pm
Re: TreeGadget: MoveGadgetItem()
+1
I am French, I do not speak English.
My apologies for the mistakes.
I have sometimes problems of expression
I am sometimes quite clumsy, please excuse me and let me know.
My apologies for the mistakes.
I have sometimes problems of expression
I am sometimes quite clumsy, please excuse me and let me know.