Re: rename root item in a tree

"Alex Schenkman" <[email protected]> Wed, 2 Apr 2008 18:23:28 +0200
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Yes, that did the job.
Thanks!

On 4/1/08, Andy Todd <[email protected]> wrote:
>
> Alex Schenkman wrote:
>
> > I would also need to change the text shown in the root item...
> >
> > Thanks again!
> >
> > On 4/1/08, *Alex Schenkman* <[email protected] <mailto:
> > [email protected]>> wrote:
> >
> >    Hi:
> >
> >    How can I reset a tree component?
> >    I want to be able to add a new root and new children.
> >
> >    Thanks in advance!
> >
> >
> I would suggest dynamically creating a new tree component in your code and
> then swapping it for the existing one when the triggering event occurs.
>
> Examples of dynamically creating components are in the dbBrowser sample
> distributed with PythonCard.
>
> Regards,
> Andy
> --
> From the desk of Andrew J Todd esq - http://www.halfcooked.com/
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users