I tried with the custom draw example which
was given in the below link, but that is working as long as the control is
enabled.
And I am unable to change the
foreground/background color of the tree items once the tree is disabled.
Is there any way to solve this?
(http://www.eclipse.org/swt/snippets/)
Thanks & Regards,
From: platform-swt-dev-bounces@xxxxxxxxxxx
[mailto:platform-swt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Steve Northover
Sent: Thursday, July 10, 2008 3:44
AM
To: Eclipse Platform SWT component
developers list.
Subject: Re: [platform-swt-dev]
How to change the foreground color of adisabled control
You should be able to use custom draw to get what you
want. See the snippets page (http://www.eclipse.org/swt/snippets/) for
custom draw tree example code.
arunkumarsimhadri
<arunsimha@xxxxxx>
Sent
by: platform-swt-dev-bounces@xxxxxxxxxxx
07/09/2008 10:42 AM
Please
respond to
"Eclipse Platform SWT component developers list."
<platform-swt-dev@xxxxxxxxxxx>
|
|
To
|
platform-swt-dev@xxxxxxxxxxx
|
cc
|
|
Subject
|
[platform-swt-dev] How to change the
foreground color of a disabled control
|
|
Hi,
I am stucked with a problem.
My requirement is to display the selected tree
item foreground color as blue
color and disable the Tree(SWT.Tree).
But when the tree control is disabled, the
selected tree item is not
displayed in blue color. Instead it is displayed
in black.
How can i solve this problem
--
View this message in context:
http://www.nabble.com/How-to-change-the-foreground-color-of-a-disabled-control-tp18362574p18362574.html
Sent from the Eclipse Platform - swt mailing list
archive at Nabble.com.
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev