[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 594: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 650: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
Fórum Xmaker • COLOCAR UMA LINHA COLORIDA EM UMA LISTA
Página 1 de 1

COLOCAR UMA LINHA COLORIDA EM UMA LISTA

Enviado: Abril 23rd, 2011, 2:32 pm
por mmsystems
COMO COLOCAR UMA COR DIFERENTE E 1,2,3 OP????ES DE STATUS

Re: COLOCAR UMA LINHA COLORIDA EM UMA LISTA

Enviado: Abril 25th, 2011, 8:56 am
por Suporte
Olá,

Você pode estar usando o evento "GridConsultaDrawDataCell"

Ficaria com a seguinte codificação:

procedure TFormVendas.GridConsultaDrawDataCell(Sender: TObject;
const Rect: TRect; Field: TField; State: TGridDrawState);
begin
// Mostra cor cancelada! RED
if TabGlobal.DVENDAS.ECF_CANCELADA.Conteudo = 'S' then
begin
gridconsulta.Canvas.Font.Color := clRed;
Gridconsulta.DefaultDrawDataCell(Rect, Field, State);
end;

end;