Re: [Gambas-user] destroying all panels

2008-10-04 Thread Doriano Blengino
Joshua Higgins ha scritto: > If I use > > windowpanel = New Panel(FMain) As "TaskPanel" > > many times to create loads of panels, how do I destroy all of them? Using > windowpanel.delete only destroys the last one created. > > You have to remember all of them (using an array, for example), or us

Re: [Gambas-user] destroying all panels

2008-09-28 Thread Benoit Minisini
On dimanche 28 septembre 2008, Joshua Higgins wrote: > If I use > > windowpanel = New Panel(FMain) As "TaskPanel" > > many times to create loads of panels, how do I destroy all of them? Using > windowpanel.delete only destroys the last one created. You must store the reference on each newly create

[Gambas-user] destroying all panels

2008-09-28 Thread Joshua Higgins
If I use windowpanel = New Panel(FMain) As "TaskPanel" many times to create loads of panels, how do I destroy all of them? Using windowpanel.delete only destroys the last one created. -- joshua higgins >>-- - This S