Página 1 de 1

How to change color of a cell or row in TDbBrowseMod

Publicado: Jue Ene 19, 2023 11:34 am
por Milan Mehta
How can I change the color (foreground or background) of a cell or a row in TDbBrowseMod ?
I am able to do that in TDbBrowse.
Kindly guide.

TIA
Milan.

Re: How to change color of a cell or row in TDbBrowseMod

Publicado: Jue Ene 19, 2023 11:43 am
por ignacio
Hi,

Use the event OnDrawCell(). It receives nClrText and nClrPane by reference. Just change their value. That's all

Regards,