[Gambas-user] TreeView: Change parent key
Jørn Erik Mørne
epost at ...3323...
Wed Apr 30 22:47:06 CEST 2014
I've got the newest Gambas development version now and can confirm that
the .Reparent() works beautifully! Thanks a lot!
------------------------------ Message: 2 Date: Sat, 26 Apr 2014
16:32:37 +0200 From: Beno?t Minisini <gambas at ...1...>
Subject: Re: [Gambas-user] TreeView: Change parent key To: mailing list
for gambas users <gambas-user at lists.sourceforge.net> Message-ID:
<535BC385.3020009 at ...1...> Content-Type: text/plain;
charset=ISO-8859-1; format=flowed Le 23/04/2014 23:13, J?rn Erik M?rne a
?crit :
> Hi!
>
> Is there a way with the TreeView component to change an item's parent key?
>
> Now, I have to clear out all elements, and reload them each time I
> want to move an item to another parent, and this also resets the
> current opened/closed status of each item, which clutters the users's
> experience a bit.
>
> Perhaps there's a good way I haven't thought of?
>
> Regards,
> Erik
>
I added a Reparent() method to the TreeView items in revision #6250.
Tell me if it works for you.
I now leave and will come back from holidays next week, so I won't be
able to answer before.
Regards,
-- Beno?t Minisini ------------------------------
More information about the User
mailing list