Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » changing FormColors
changing FormColors [message #464906] Thu, 01 December 2005 00:01 Go to next message
Adam is currently offline AdamFriend
Messages: 8
Registered: July 2009
Junior Member
Hello,
I am creating a multi page form using the managedform API and I'm
having trouble changing the colors. Right now, on windows, I have a
really drab grey scheme. I would like to be able to set the colors to
something else and also be able to indicate which part of the form is
actuve, etc. However, when I get the formcolors from the toolkit and
use createColor to change a key (TB_BG for instance), it only changes to
white. Is there a better way to do this?

thanks,
adam
Re: changing FormColors [message #464908 is a reply to message #464906] Thu, 01 December 2005 01:05 Go to previous message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 48
Registered: July 2009
Member
if I remember correctly, you have to initialize TB colors first:

formcolors.initializeSectionToolBarColors();


but it's been a long day...


Adam wrote:
> Hello,
> I am creating a multi page form using the managedform API and I'm
> having trouble changing the colors. Right now, on windows, I have a
> really drab grey scheme. I would like to be able to set the colors to
> something else and also be able to indicate which part of the form is
> actuve, etc. However, when I get the formcolors from the toolkit and
> use createColor to change a key (TB_BG for instance), it only changes to
> white. Is there a better way to do this?
>
> thanks,
> adam
Previous Topic:Extra blanc row and column in SWT Table
Next Topic:How to connect model to GUI using JFace?
Goto Forum:
  


Current Time: Thu Mar 28 11:34:44 GMT 2024

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

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

Back to the top