Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Removing controls from a composite
Removing controls from a composite [message #438606] Mon, 28 June 2004 16:21 Go to next message
Jay Wootton is currently offline Jay WoottonFriend
Messages: 5
Registered: July 2009
Junior Member
I have a property page where I need to dynamically remove controls (Text, Label, etc) from the page. Is there a way to do this?

Thanks,
- Jay
Re: Removing controls from a composite [message #438615 is a reply to message #438606] Mon, 28 June 2004 19:12 Go to previous message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
You've got two options. a) Dispose and recreate your controls every
time you remove or add one, and b) use
org.eclipse.swt.custom.StackLayout The javadoc thereof should be pretty
self explainitory.

Daniel

Jay Wootton wrote:

>I have a property page where I need to dynamically remove controls (Text, Label, etc) from the page. Is there a way to do this?
>
>Thanks,
>- Jay
>
>
Previous Topic:JFace vs Swing approach to MVC
Next Topic:Hiding controls
Goto Forum:
  


Current Time: Fri Apr 26 19:20:32 GMT 2024

Powered by FUDForum. Page generated in 0.02980 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top