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.
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
How to change color of a cell or row in TDbBrowseMod
-
- Mensajes: 134
- Registrado: Dom Dic 27, 2009 9:54 am
- ignacio
- Site Admin
- Mensajes: 9253
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: How to change color of a cell or row in TDbBrowseMod
Hi,
Use the event OnDrawCell(). It receives nClrText and nClrPane by reference. Just change their value. That's all
Regards,
Use the event OnDrawCell(). It receives nClrText and nClrPane by reference. Just change their value. That's all
Regards,