From: Andy T. <an...@ha...> - 2008-04-01 21:21:45
|
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/ |