Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.039 c
1-1100958768
Larisa
2004-11-20 16:52
2004.12.05
Установила Delphi 7 при попытке откомпилировать старый


3-1099571426
Mih
2004-11-04 15:30
2004.12.05
Вопрос поиска.


3-1099465064
onix
2004-11-03 09:57
2004.12.05
Картинки в БД


3-1099560939
Kat
2004-11-04 12:35
2004.12.05
Если затем открыть запрос надо ли делать IBQuery.SQL.Clear ?


14-1100534465
vasilii
2004-11-15 19:01
2004.12.05
profiler для Delphi7




   Наверх