Colorize ROW of dbgrid, possibile?

User avatar
sal21
PlatinumLounger
Posts: 4336
Joined: 26 Apr 2010, 17:36

Colorize ROW of dbgrid, possibile?

Post by sal21 »

Old project vb6.
Colorize RAW of Dbgrid, possibile?
Last edited by sal21 on 29 Nov 2020, 08:18, edited 1 time in total.

User avatar
HansV
Administrator
Posts: 78364
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Colorize RAW of dbgrid, possibile?

Post by HansV »

Do you mean a row?
Best wishes,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4336
Joined: 26 Apr 2010, 17:36

Re: Colorize RAW of dbgrid, possibile?

Post by sal21 »

HansV wrote:
28 Nov 2020, 12:15
Do you mean a row?
SORRY!
Row, naturally.

User avatar
HansV
Administrator
Posts: 78364
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Colorize ROW of dbgrid, possibile?

Post by HansV »

As far as I can tell, that is not possible. Posts in other forums about this questions suggest using a FlexGrid control, but I don't have any experience with either DBGrid or FlexGrid.
Best wishes,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4336
Joined: 26 Apr 2010, 17:36

Re: Colorize ROW of dbgrid, possibile?

Post by sal21 »

HansV wrote:
29 Nov 2020, 10:05
As far as I can tell, that is not possible. Posts in other forums about this questions suggest using a FlexGrid control, but I don't have any experience with either DBGrid or FlexGrid.
OK.
Instead to colorize a font in cells?

User avatar
HansV
Administrator
Posts: 78364
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Colorize ROW of dbgrid, possibile?

Post by HansV »

No, that is not possible either.
Best wishes,
Hans