Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » two composite and one visible
two composite and one visible [message #450541] Tue, 15 February 2005 10:55 Go to next message
Eclipse UserFriend
Originally posted by: danny.g2k.es

Hi List. I have a problem with composite visivility and focus. I have
two composite with the same shell as parent, i want to show one
composite at time and i don´t know how to do this, maybe using
setVisible method?. Using dispose() and recreating the composite when
needed ?.

Thanks
Danny
Re: two composite and one visible [message #450542 is a reply to message #450541] Tue, 15 February 2005 11:09 Go to previous messageGo to next message
Tiberiu Caprita is currently offline Tiberiu CapritaFriend
Messages: 68
Registered: July 2009
Member
Danny Garcia Hernandez wrote:

> Hi List. I have a problem with composite visivility and focus. I have
> two composite with the same shell as parent, i want to show one
> composite at time and i don?t know how to do this, maybe using
> setVisible method?. Using dispose() and recreating the composite when
> needed ?.

> Thanks
> Danny

See StackLayout.

Regards,
Tiberiu
Re: two composite and one visible [message #450544 is a reply to message #450542] Tue, 15 February 2005 12:42 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
Use StackLayout provided you are not looking for a Pocket Pc implementation,
otherwise you have to create your own implementation of StackLayout.

See 18th January 2005 - "swapping composites"

Andy


"Tiberiu Caprita" <capritat@hotmail.com> wrote in message
news:cusl9l$7tv$1@www.eclipse.org...
> Danny Garcia Hernandez wrote:
>
> > Hi List. I have a problem with composite visivility and focus. I have
> > two composite with the same shell as parent, i want to show one
> > composite at time and i don?t know how to do this, maybe using
> > setVisible method?. Using dispose() and recreating the composite when
> > needed ?.
>
> > Thanks
> > Danny
>
> See StackLayout.
>
> Regards,
> Tiberiu
>
Re: two composite and one visible [message #450553 is a reply to message #450542] Tue, 15 February 2005 15:05 Go to previous message
Eclipse UserFriend
Originally posted by: danny.g2k.es

Tiberiu Caprita wrote:
> Danny Garcia Hernandez wrote:
>
>> Hi List. I have a problem with composite visivility and focus. I have
>> two composite with the same shell as parent, i want to show one
>> composite at time and i don?t know how to do this, maybe using
>> setVisible method?. Using dispose() and recreating the composite when
>> needed ?.
>
>
>> Thanks
>> Danny
>
>
> See StackLayout.
>
> Regards,
> Tiberiu
>

Thanks Tiberiu

Danny
Previous Topic:cannot submit html form in browser widget
Next Topic:html code for applets
Goto Forum:
  


Current Time: Thu Apr 25 02:26:16 GMT 2024

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

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

Back to the top