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 ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user