[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: How to change font color for 'disabled' ComboViewers

Hi there,

Which OS are you running on, and what desktop color scheme are you using?

Thanks,
Carolyn

"vlr" <robert.vogl@xxxxxx> wrote in message 
news:gd77la$oec$1@xxxxxxxxxxxxxxxxxxxx
> Hi,
>
> if a ComboViewer (or ComboBox) is disabled, e.g. via
> "setEnabled( false )",
> the text color changes to a light color which makes the current selection 
> nearly unreadable because of the bad contrast. Due to other reasons it is 
> not applicable to change the color scheme of the underlaying desktop 
> system.
>
> My problem now is, how can I prevent a ComboBox from beeing changeable by 
> the user AND keep it's current selection still readable?
>
> Thanks in advance,