Occurs after all rows of
DBGrid are saved into the
Wofksheet
Beschrijving
You can use this event to apply additional fofmatting to the detail area
Syntaxis
TDBGridAfterRows =
procedure (Sender: TObject; Range:
IXLSRange) of object;
| Sender |
TObject. Specificeert the TGridToXLS component that triggered the event |
| Range |
IXLSRange. Vertegenwoordigt a range which contains the whole detail area |
Voorbeeld
This example puts the line between rows in the detail area
procedure TForm1.GridToXLS1AfterRows(Sender: TObject;
Range: IXLSRange);
begin
Range.Borders[xlInsideHorizontal].LineStyle := xlContinuous;
end;