Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Combo and disable + colors
SWT Combo and disable + colors [message #519309] Mon, 08 March 2010 13:13 Go to next message
Fabien is currently offline FabienFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

how is it possible to change color text and border when a combo is disabled ?


by default, it's a grey color for border and text, and i would like to change for black (text) and blue(default color border of combo)

Re: SWT Combo and disable + colors [message #519342 is a reply to message #519309] Mon, 08 March 2010 14:49 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

The disabled appearance for Controls comes from the OS, and there isn't a
way to change it. This is how a disabled Control should appear in order to
be consistent with other native apps.

Grant


"Fabien" wrote in message
news:hn2t69$996$1@build.eclipse.org...
> Hi,
>
> how is it possible to change color text and border when a combo is
disabled ?
>
>
> by default, it's a grey color for border and text, and i would like to
change for black (text) and blue(default color border of combo)
>
>

[Updated on: Fri, 19 March 2010 18:46] by Moderator

Report message to a moderator

Re: SWT Combo and disable + colors [message #519529 is a reply to message #519342] Tue, 09 March 2010 09:02 Go to previous message
Fabien is currently offline FabienFriend
Messages: 5
Registered: July 2009
Junior Member
Grant Gayed wrote on Mon, 08 March 2010 09:49
Hi,

The disabled appearance for Controls comes from the OS, and there isn't a
way to change it. This is how a disabled Control should appear in order to
be consistent with other native apps.

Grant


"Fabien" wrote in message
news:hn2t69$996$1@build.eclipse.org...
> Hi,
>
> how is it possible to change color text and border when a combo is
disabled ?
>
>
> by default, it's a grey color for border and text, and i would like to
change for black (text) and blue(default color border of combo)
>
>

ok, many thanks

[Updated on: Thu, 18 March 2010 09:32]

Report message to a moderator

Previous Topic:browser.setUrl freeze
Next Topic:How to create modeless dialog and update it from UI thread?
Goto Forum:
  


Current Time: Fri Apr 19 01:50:17 GMT 2024

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

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

Back to the top