Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.12.05;
Скачать: CL | DM;

Вниз

Grid   Найти похожие ветки 

 
lp   (2004-11-20 19:28) [0]

Уважаемые мастера.
Скажите как можно объединить ячейки в гриде.
Спасибо.


 
jack128 ©   (2004-11-20 20:25) [1]

procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
 Rect: TRect; State: TGridDrawState);
var
 Grid: TStringGrid;
begin
 if ARow = 1 then
 begin
   Grid := Sender as TStringGrid;
   case ACol of
     1: inc(Rect.Right, Grid.GridLineWidth);
     2: dec(Rect.Left, Grid.GridLineWidth);
   else
     Exit;
   end;
   TStringGrid(Grid).Canvas.FillRect(Rect);
 end;
end;



Страницы: 1 вся ветка

Текущий архив: 2004.12.05;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.049 c
1-1100862998
Dolphin001
2004-11-19 14:16
2004.12.05
msEquation


14-1100598102
sweetk
2004-11-16 12:41
2004.12.05
Как обойти дст?


1-1100599296
Майя
2004-11-16 13:01
2004.12.05
Application.Terminate


4-1098423534
Delphi5.01
2004-10-22 09:38
2004.12.05
... как можно очистить Tempory Internet Files и Cookies ...


4-1098437577
Slonco
2004-10-22 13:32
2004.12.05
Как сделать чтобы форма получила фокус и стала поверх другх окон?