[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: swapping composites
|
thanks for the responses... I'm working in PocketPC so StackLayout is not
included. I took Veronika's advice and had a look at the source for
StackLayout and I have got my own version working now. All you need is an
array of Composites so you can loop and manage the setVisible() for each. I
didn't know that, but I do now!
cheers,
Andy
"Rich Kulp" <richkulp@xxxxxxxxxxxxxxxxxx> wrote in message
news:csltrv$qud$1@xxxxxxxxxxxxxxxxxx
> It's even easier. Use a StackLayout on the outer composite, and then set
> the layout's topControl field to the control to be on top and then call
> layout() on the outer composite.
>
> That is exactly what StackLayout is for, switching in composited.
>
>
> --
> Thanks,
> Rich Kulp