[Gambas-user] destroying all panels

Benoit Minisini gambas at ...1...
Sun Sep 28 20:12:46 CEST 2008


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




More information about the User mailing list