Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Custom Color on ProgressBar
Custom Color on ProgressBar [message #457700] Sat, 02 July 2005 19:38 Go to next message
Marc Schaubach is currently offline Marc SchaubachFriend
Messages: 5
Registered: July 2009
Junior Member
Hello SWT Gurus

I am trying to put a custom color for my progressbar.. The widget has a
..setForground and a .setBackground, but these do not seem to do
anything. I set them both to SWT.COLOR_WHITE and I still have a blue
progressbar on a gray background (which is my system defaults I
presume).. so my question is this: Is there anyway to provide a custom
color for ProgressBars. Thanks
Re: Custom Color on ProgressBar [message #457845 is a reply to message #457700] Tue, 05 July 2005 19:43 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
On XP, the theme manager doesn't allow custom colors in a ProgressBar.

"Marc Schaubach" <omschaub@gmail.remove.com> wrote in message
news:da6qf6$h5a$1@news.eclipse.org...
> Hello SWT Gurus
>
> I am trying to put a custom color for my progressbar.. The widget has a
> .setForground and a .setBackground, but these do not seem to do
> anything. I set them both to SWT.COLOR_WHITE and I still have a blue
> progressbar on a gray background (which is my system defaults I
> presume).. so my question is this: Is there anyway to provide a custom
> color for ProgressBars. Thanks
Previous Topic:Combo selection by programm and addSelectionListener
Next Topic:How to group checkbox?
Goto Forum:
  


Current Time: Thu Apr 25 07:53:36 GMT 2024

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

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

Back to the top