Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid - background and foreground color
Grid - background and foreground color [message #593047] Fri, 19 December 2008 01:40
Dhiresh Patel  is currently offline Dhiresh Patel
Messages: 79
Registered: July 2009
Member
I have Nebula grid with tree in first column.

I am changing background and foreground color of rows
depending upon data type. So for e.g. for a given data type
I am changing foreground to red color. And this I can do easily.

However the problem I have is when user select that row.
The default selection color is used and what I would like
to do is have a background color of red and foreground color
of white on selection. I use to do this on SWT Tree or SWT Table
by using SWT.PaintItem and SWT.EraseItem events.
Is there any other way to do above?
Appreciate any help,

Thanks,

Dhiresh
Previous Topic:Grid - background and foreground color
Next Topic:DateChooserCombo unit testing problem
Goto Forum:
  


Current Time: Mon Sep 15 02:18:04 GMT 2014

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

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