Home > Archive > Getting Started with dBASE > November 2006 > rows in grid









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author rows in grid
Eric

2006-11-24, 12:14 am

in a grid component.
I know I can make columns in different color .

is it possible to make rows in different color ?

Eric



Martin

2006-11-24, 12:14 am


Use Grid event BeforeCellPaint to set the color (
oGridColEditorContro
l.colorNormal = "Black/0xd6fbfe" ),
and onCellPaint to reset color ( oGridColEditorContro
l.colorNormal = "" )

Martin

"Eric" <ericwuu@hotmail.com> wrote in message
news:P3igaM0DHHA.1140@news-server...
> in a grid component.
> I know I can make columns in different color .
>
> is it possible to make rows in different color ?
>
> Eric
>
>
>



Ken Mayer [dBVIPS]

2006-11-27, 7:13 pm

Eric wrote:
> in a grid component.
> I know I can make columns in different color .
>
> is it possible to make rows in different color ?


Use the same code for each column that you use for the individual column.

Not real intuitive, and one hopes that at some point this ability will
be enhanced to make it easier to do.

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Eric

2006-11-28, 12:13 am

Thank you all




Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com