|
|
Re: Can I remove a control from a Composite? [message #467429 is a reply to message #467426] |
Tue, 31 January 2006 09:38 |
Eclipse User |
|
|
|
Originally posted by: didier.bolf.wanadoo.fr
yes
and if you wanted to hide a control, you could use exclude on its
layout data and setVisible on the control
didier
"Manuel Nogales" <mnogales@servinform.es> wrote in message news:drn73t$8uh$2@utils.eclipse.org...
> You only need to dispose each children of the composite.
>
> Widget[] childrens = composite.getChidrens()
> for (int i = 0; i < childrens.length; i++)
> children[i].dispose();
>
> 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.02904 seconds