Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How can I disable some TabItems in a TabFolder?
How can I disable some TabItems in a TabFolder? [message #454094] Sun, 17 April 2005 02:17 Go to next message
Eclipse UserFriend
Originally posted by: devmike.netcabo.pt

Hi everyone. Is it possible to create a TabFolder with a few TabItems
and enable only the first TabItem (for example) and disable all the
others (giving them that grayed look)?

Thanks in advance,
Miguel Barrosa
Re: How can I disable some TabItems in a TabFolder? [message #454097 is a reply to message #454094] Sun, 17 April 2005 06:09 Go to previous messageGo to next message
Emil Crumhorn is currently offline Emil CrumhornFriend
Messages: 169
Registered: July 2009
Senior Member
There is no way to disable tabs. (Or as Microsoft puts it: "You cannot
disable an individual tab in a tab control"). You might want to look into
disabling or hiding the content of the tab itself as a solution.

Emil

"DevMike" <devmike@netcabo.pt> wrote in message
news:d3shcn$cmm$1@news.eclipse.org...
> Hi everyone. Is it possible to create a TabFolder with a few TabItems and
> enable only the first TabItem (for example) and disable all the others
> (giving them that grayed look)?
>
> Thanks in advance,
> Miguel Barrosa
Re: How can I disable some TabItems in a TabFolder? [message #454098 is a reply to message #454094] Sun, 17 April 2005 06:15 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
Look at "CardLayout equivalent TabFolder" of my previous posting.
It precedes about posts before this. That's what I use for this type of
control.


"DevMike" <devmike@netcabo.pt> wrote in message
news:d3shcn$cmm$1@news.eclipse.org...
> Hi everyone. Is it possible to create a TabFolder with a few TabItems
> and enable only the first TabItem (for example) and disable all the
> others (giving them that grayed look)?
>
> Thanks in advance,
> Miguel Barrosa
Re: How can I disable some TabItems in a TabFolder? [message #454100 is a reply to message #454094] Sun, 17 April 2005 16:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: devmike.netcabo.pt

Ok guys, thanks a lot. I'm going to give StackLayout a look.

Miguel Barrosa

DevMike wrote:
> Hi everyone. Is it possible to create a TabFolder with a few TabItems
> and enable only the first TabItem (for example) and disable all the
> others (giving them that grayed look)?
>
> Thanks in advance,
> Miguel Barrosa
Re: How can I disable some TabItems in a TabFolder? [message #454167 is a reply to message #454097] Mon, 18 April 2005 17:21 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Of course, you could always remove the "disabled" tab until it's enabled
again. Incredible flashing tabs!

Bob

Emil Crumhorn wrote:
> There is no way to disable tabs. (Or as Microsoft puts it: "You cannot
> disable an individual tab in a tab control"). You might want to look into
> disabling or hiding the content of the tab itself as a solution.
>
> Emil
>
> "DevMike" <devmike@netcabo.pt> wrote in message
> news:d3shcn$cmm$1@news.eclipse.org...
>
>>Hi everyone. Is it possible to create a TabFolder with a few TabItems and
>>enable only the first TabItem (for example) and disable all the others
>>(giving them that grayed look)?
>>
>>Thanks in advance,
>>Miguel Barrosa
>
>
>
Previous Topic:icons in texteditor
Next Topic:Efficient tree or TreeItem navigation
Goto Forum:
  


Current Time: Sat Apr 27 03:33:55 GMT 2024

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

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

Back to the top