|Re: Can I remove a control from a Composite? [message #467429 is a reply to message #467426]
||Tue, 31 January 2006 09:38
Originally posted by: didier.bolf.wanadoo.fr|
and if you wanted to hide a control, you could use exclude on its
layout data and setVisible on the control
"Manuel Nogales" <email@example.com> wrote in message news:firstname.lastname@example.org...
> You only need to dispose each children of the composite.
> Widget childrens = composite.getChidrens()
> for (int i = 0; i < childrens.length; i++)
> Nie, Jason wrote:
> > Can I remove a control from a Composite?
> > I just want to refill a compoiste at runtime, which means I have to remove
> > all children from a composite and add some other controls to it. But I do
> > not find remove method for Composite. Anyone can help?
> > Thanks a lot.
> > Jason
Powered by FUDForum
. Page generated in 0.02191 seconds