Τεκμηρίωση HotXLS

AfterRows γεγονός

Occurs after all rows of dataset are saved into Worksheet

Περιγραφή

You can use this event to apply additional formatting to the detail area

Σύνταξη

TAfterRows = procedure (Sender: TObject; Range: IXLSRange) of object;
Sender TObject. Καθορίζει the TDataToXLS component that triggered the event
Range IXLSRange. Αντιπροσωπεύει a range which contains the whole detail area

Παράδειγμα

This example puts the line between rows in the detail area

procedure TForm1.DataToXLS1AfterRows(Sender: TObject;
  Range: IXLSRange);
begin
  Range.Borders[xlInsideHorizontal].LineStyle := xlContinuous;
end;