Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] How to change the foreground color of a disabled 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


Back to the top