![]() |
![]() |
Products | Download | Order | Forum | Contact us |
| Sender | TObject. Specifies the TDBGrid2Excel component that triggered the event. |
| GroupIndex | Integer. One-based index of the group. |
| GroupRow | IXLSRange. Represents a range which contains the whole group title area. |
| GroupCell | IXLSRange. Represents a cell which contains the group value. |
procedure TForm1.DBGrid2Excel1AfterGroupTitle(Sender: TObject;
GroupIndex: integer; GroupRow: IXLSRange; GroupCell: IXLSRange);
begin
GroupRow.Merge;
With GroupRow do begin
case GroupIndex of
1: Font.Size := 16;
2: Font.Size := 14;
3: Font.Size := 12;
else Font.Size := 10;
end;
end;
end;
| Copyright © NikaSoft 2004-2010 |