|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" <firstname.lastname@example.org> wrote in message news:email@example.com...
> 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.01693 seconds