Cxgrid com imagem
Olha a situação:
if Column.Field = ftd001fatass then
begin
DBGrid35.Canvas.FillRect(Rect);
if ftd001fatass.value = 0 then
ImageList1.Draw(DBGrid35.Canvas, Rect.Left + 10, Rect.Top + 1, -1)
else
ImageList1.Draw(DBGrid35.Canvas, Rect.Left + 10, Rect.Top + 1, 0);
end;
Como eu replico o mesmo processo mas no cxgrid.
Obrigado
"Deus Abençoe"
if Column.Field = ftd001fatass then
begin
DBGrid35.Canvas.FillRect(Rect);
if ftd001fatass.value = 0 then
ImageList1.Draw(DBGrid35.Canvas, Rect.Left + 10, Rect.Top + 1, -1)
else
ImageList1.Draw(DBGrid35.Canvas, Rect.Left + 10, Rect.Top + 1, 0);
end;
Como eu replico o mesmo processo mas no cxgrid.
Obrigado
"Deus Abençoe"
Wilton Júnior
Curtidas 0