Componentes TMS
Esta va para quienes tengan los componentes de TMS...
Cual es el evento equivalente a DrawColumnCell en el TDBAdvGrid |
OnDrawCell .... ;)
|
Pero ese evento no se comporta igual ni tiene los mismos argumentos, habria que hacer muchos cambios al codigo...
|
Hola.
Si quieres poner un color a una línea en particular según el valor de un campo, en el evento onGetCellColor escribes algo así :
Un saludo. |
Gracias por responder, tengo codigo un poco mas elaborado...
Código:
procedure TForm3.jvdbgrd1DrawColumnCell(Sender: TObject; const Rect: TRect; * La fila se pinta en Gris si la existencia es igual a 0. * Las filas con existencia mayor a 0 se pinta dinamicamente con lo que se va escribiendo en el Edt1. |
La franja horaria es GMT +2. Ahora son las 04:22:14. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi