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 <[email protected]>
Subject: Re: [Gambas-user] TreeView: Change parent key To: mailing list
for gambas users <[email protected]> Message-ID:
<[email protected]> 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 ------------------------------

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to