[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Replace composite in sashform

I'm not an expert, but can't you use a stack layout on top of the Sash and then call the specific composite with setFocus()?

Kath

On Thu, 23 Jun 2005 12:56:47 +0000 (UTC), Jan Tore Bøe <jantb@xxxxxxxxxx> wrote:

I need to swap two composites, both with different children, in a sashform. The idea is to let the user push a button and then the contents of the sashform will be changed from the first composite to the sencond one and visa versa. I get only a grey composite after I using setVisible(false) in "protected Control createContents(Composite parent)" and then setting it visible again later.