It is currently Thu Nov 21, 2019 7:22 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: TreeGadget: MoveGadgetItem()
PostPosted: Thu Feb 14, 2019 3:27 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Feb 08, 2014 3:26 pm
Posts: 705
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.

:idea: 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 ?
:?: :wink:

_________________
(English is not my native language, I use an online translator)
Windows 10 Family x64 + Linux (Slackware, Debian on Oracle VirtualBox 6.0) + Raspberry Pi


Top
 Profile  
Reply with quote  
 Post subject: Re: TreeGadget: MoveGadgetItem()
PostPosted: Thu Apr 18, 2019 11:22 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 1106
Location: Germany::Berlin()
+1
Yes, its useful. Please also add to ListIconGadget.

_________________
ImageImageImageImage Image


Top
 Profile  
Reply with quote  
 Post subject: Re: TreeGadget: MoveGadgetItem()
PostPosted: Tue Jun 11, 2019 9:23 pm 
Offline
User
User

Joined: Thu May 02, 2019 3:57 am
Posts: 41
Location: USA
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


Top
 Profile  
Reply with quote  
 Post subject: Re: TreeGadget: MoveGadgetItem()
PostPosted: Wed Jun 12, 2019 12:39 am 
Offline
User
User

Joined: Tue Feb 14, 2017 12:07 pm
Posts: 42
+1

_________________
I am French, I do not speak English.
My apologies for the mistakes.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye