From: Alex S. <al...@sc...> - 2008-04-02 16:23:25
|
Yes, that did the job. Thanks! On 4/1/08, Andy Todd <an...@ha...> 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* <al...@sc... <mailto: > > al...@sc...>> 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/ > > |