Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table Cell Colors
Table Cell Colors [message #466348] Sat, 07 January 2006 18:25 Go to next message
Chris Grant is currently offline Chris GrantFriend
Messages: 45
Registered: July 2009
Member
Hello:

I have two tables in one dialog. When I select a cell in one, the
standard dark blue is observed for the cell. If I click on the second
table, the first table's selected cell turns beige and the second table's
cell turns the standard blue. How do I make them both standard blue?
Note that if I use a List for one of the tables, then both are blue.

Thanks,

Chris
Re: Table Cell Colors [message #466499 is a reply to message #466348] Tue, 10 January 2006 18:37 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
There is no way to force both to be blue. The native behaviour is for the
table with focus to show a blue selection and the table without focus to
show a gray selection (colours may vary with windows theme). You can hide
the selection in the Table without focus by creating the table with
SWT.HIDE_SELCETION. However, not showing the selection may be worse than
having two different colours.

"Chris Grant" <chris@transformsw.com> wrote in message
news:e9a7593f8d8a636f6aef01f13e1392c0$1@www.eclipse.org...
> Hello:
>
> I have two tables in one dialog. When I select a cell in one, the
> standard dark blue is observed for the cell. If I click on the second
> table, the first table's selected cell turns beige and the second table's
> cell turns the standard blue. How do I make them both standard blue?
> Note that if I use a List for one of the tables, then both are blue.
>
> Thanks,
>
> Chris
>
Previous Topic:No labels
Next Topic:swt error opening a dialog
Goto Forum:
  


Current Time: Mon Aug 19 10:10:55 GMT 2019

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

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

Back to the top