Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CTabFolder CTabItem color?
CTabFolder CTabItem color? [message #440491] Mon, 02 August 2004 21:17 Go to next message
David Thomson is currently offline David ThomsonFriend
Messages: 65
Registered: July 2009
Member
Hello,

Is there any way to set the foreground color on a specific tab in a tab
folder? I need to set the color differently depending on the events
relative to each tab. This functionality is already in my Swing
application and I'm trying to move to SWT but I cannot since people are
used to this behavior and would not accept a new version without it.

CTabFolder.setForeground, setSelectionForeground only seems to work for
all tab items in a folder. Why can't it just be done via each CTabItem?
It seems like the *font* for a specific CTabItem can be set, but why not
the color?

Thanks,
David
Re: CTabFolder CTabItem color? [message #440532 is a reply to message #440491] Tue, 03 August 2004 22:58 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Enter a feature request. Indicate that it is critical to your application.
Hack CTabFolder to do what you want. Submit a patch.

"David Thomson" <david@suprasphere.com> wrote in message
news:cemb01$urf$1@eclipse.org...
> Hello,
>
> Is there any way to set the foreground color on a specific tab in a tab
> folder? I need to set the color differently depending on the events
> relative to each tab. This functionality is already in my Swing
> application and I'm trying to move to SWT but I cannot since people are
> used to this behavior and would not accept a new version without it.
>
> CTabFolder.setForeground, setSelectionForeground only seems to work for
> all tab items in a folder. Why can't it just be done via each CTabItem?
> It seems like the *font* for a specific CTabItem can be set, but why not
> the color?
>
> Thanks,
> David
Re: CTabFolder CTabItem color? [message #440599 is a reply to message #440491] Wed, 04 August 2004 20:09 Go to previous message
Eclipse UserFriend
Originally posted by: am560571.wcupa.edu

Did u submit a feature request this just seems logical that you should be
able to set the color for each tabItem....

later,
whatsgoingon

David Thomson wrote:

> Hello,

> Is there any way to set the foreground color on a specific tab in a tab
> folder? I need to set the color differently depending on the events
> relative to each tab. This functionality is already in my Swing
> application and I'm trying to move to SWT but I cannot since people are
> used to this behavior and would not accept a new version without it.

> CTabFolder.setForeground, setSelectionForeground only seems to work for
> all tab items in a folder. Why can't it just be done via each CTabItem?
> It seems like the *font* for a specific CTabItem can be set, but why not
> the color?

> Thanks,
> David
Previous Topic:SWT GTK Problem with TableEditor (images are dispear before window resize)
Next Topic:file explorer
Goto Forum:
  


Current Time: Sat Apr 20 00:40:40 GMT 2024

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

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

Back to the top