[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Non-selectable table?
|
You can set a background color on a disabled control. If you want white
background to make it look like an enabled table, just do
table.setEnabled(false);
table.setBackground(display.getSystemColor(SWT.COLOR_WHITE));
where "display" is your Display object.
Emil
"Mike" <mike.ladwig@xxxxxxx> wrote in message
news:22f0e390da96eca9b027ea0f62036a7f$1@xxxxxxxxxxxxxxxxxx
>I tried that, but unfortunately the table then gets the "greyed-out"
>appearance of a disabled control.
>