Grid LabelBackground Colour

Hello List,

Is there a way to change the color of *individual* labels or label backgrounds? In particular, I have a wx.Grid and I'd like different rows to have different colored text and backgrounds.

Thanks,

Gregg

···

--
Gregg Lind, M.S.

Division of Epidemiology and Community Health
School of Public Health
University of Minnesota, United States

Author and Maintainer: PedSeer Pedigree Analysis Suite -- http://www.lind-beil.net/pedseer/

Sure - take a look at the Dabo 'dGrid' class. We've abstracted out the notion of individual columns, and each column has a property named 'HeaderBackgroundColor' that controls just what it says. If you code your UI in Dabo, to get the first column to display a green header background, you just issue the command: grid.Columns[0].HeaderBackgroundColor = "green"

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com

···

On Aug 25, 2005, at 2:56 PM, Gregg Lind - Epidemiology wrote:

Is there a way to change the color of *individual* labels or label backgrounds? In particular, I have a wx.Grid and I'd like different rows to have different colored text and backgrounds.