IXLSWith
TObject. Nurodo the TDataToXLS component that triggered the event
IXLSWith
| procedure |
TForm1.DataToXLS1AfterTitlesWith IXLSWith. Atitinka a range which contains the whole header); |
| With |
With.Borders |
begin
procedure TForm1.DataToXLS1AfterTitles(Sender: TObject;
Range: IXLSRange);
begin
With Range.Borders do begin
Item[xlEdgeBottom].LineStyle := xlContinuous;
Item[xlEdgeBottom].Weight := xlThick;
Item[xlEdgeTop].LineStyle := xlContinuous;
Item[xlEdgeTop].Weight := xlThick;
Item[xlEdgeLeft].LineStyle := xlContinuous;
Item[xlEdgeLeft].Weight := xlThick;
Item[xlEdgeRight].LineStyle := xlContinuous;
Item[xlEdgeRight].Weight := xlThick;
end;
end;