Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table (Item) color for selected state.
Table (Item) color for selected state. [message #458923] Tue, 26 July 2005 15:33
Eclipse UserFriend
Originally posted by: nozz.telefonica.net

Hi:

I need to show different colors for TableItems in a table, based in the
current state of the TableItem. I mean: I need to show different colors
when TableItem is selected or not.

Using setBackground() I can define the backcolor for the TableItem, but,
when I'm using SWT.FULL_SELECTION in parent table's style, I can see the
original color of TableItem when is selected.

I need to be able to determine which color to user for the selection
(so, I can use the same colors as 'normal' for my TableItem and, this
way, the user can 'see' the color).

Is this possible with the current TableItem's implementation?.


Thanks in advance,
jpl
Previous Topic:Scrolling composite
Next Topic:Catching key pressing
Goto Forum:
  


Current Time: Fri Oct 23 03:11:33 GMT 2020

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

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

Back to the top