Форум: "Основная";
Текущий архив: 2002.04.08;
Скачать: [xml.tar.bz2];
ВнизTStringList - как раскрасить строки Найти похожие ветки
← →
Alx2 (2002-03-27 11:34) [5]Вот на скору руку. Но главное - принцип :)
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
begin
if Acol=2 then
with StringGrid1.Canvas do
begin
Brush.Color := clBlue;
Font.Color := clLime;
FillRect(Rect);
Font.Size := 14;
Font.Name := "Times New Roman";
TextOut(Rect.Left,Rect.Top,"TEST"+IntToStr(aRow));
end
else
with StringGrid1.Canvas do
begin
Brush.Color := clWhite;
Font.Color := clBlack;
FillRect(Rect);
Font.Size := 8;
Font.Name := "Arial";
TextOut(Rect.Left,Rect.Top,"TEST"+IntToStr(aRow));
end
end;
Страницы: 1 вся ветка
Форум: "Основная";
Текущий архив: 2002.04.08;
Скачать: [xml.tar.bz2];
Память: 0.43 MB
Время: 0.006 c