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 created task panel somewhere. Are you ok with object-oriented programming? -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user