[Gambas-user] Destroying Forms Question

Benoît Minisini gambas at ...1...
Tue Nov 5 13:20:14 CET 2013


Le 05/11/2013 07:03, richard terry a écrit :
> Hi List,
>
> Simple question. If I have a form I've created an instance of attatched
> to say a tab strip on another form, but I want to destroy the form under
> some circumstances, what's the best way to do this.
> I've tried Form.close, doesn't work and Form = null which also doesn't work.
>
> Any help appreciated.
>
> richard
>

When a form is embedded into a container, it acts like a Control. So use 
the Delete method.

-- 
Benoît Minisini




More information about the User mailing list