|
FlexCel Studio for VCL/LCL
|
Name of the file to be created.
property FileName: TFileName;
__property TFileName FileName;
This property defines the filename that will be used to save the created file, and is also used by the report designer to open the correct file when you double click a TFlexCelReport component.
Note that if you call TCustomFlexCelReport.Run (TStream, TStream) this property is not used.
For this Demo to Run, drop a TFlexCelReport, a TXlsAdapter, a TButton and a TOpenDialog on a Form. Connect the XlsAdapter to the FlexCelReport.
procedure TFPrinting.Button1Click(Sender: TObject); begin if OpenDialog1.Execute then begin FlexCelReport1.Adapter.AllowOverwritingFiles := true; FlexCelReport1.FileName:=OpenDialog1.FileName; FlexCelReport1.Run; end; end;
|
Copyright (c) 2002-2008 TMS Software. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|