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: Thu Apr 18 04:03:05 GMT 2024

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

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

Back to the top