mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 01:28:19 +02:00
parent
31641874aa
commit
7be987b140
@ -96,7 +96,7 @@ Var
|
||||
begin
|
||||
FI:=Nil;
|
||||
FProgress:=Nil;
|
||||
With TSelectExportFormatForm.Create(Self) do
|
||||
With TSelectExportFormatForm.Create(Application) do
|
||||
try
|
||||
Result:=(ShowModal=mrOK);
|
||||
If Result then
|
||||
@ -121,7 +121,7 @@ begin
|
||||
Dataset.First;
|
||||
If ShowProgress then
|
||||
begin
|
||||
FProgress:=TExportProgressForm.Create(Self);
|
||||
FProgress:=TExportProgressForm.Create(Application);
|
||||
FProgress.FreeNotification(Self);
|
||||
FProgress.OnCancel:=@self.DoCancel;
|
||||
FExporter.OnProgress:=@self.DoProgress;
|
||||
|
@ -138,6 +138,16 @@ end;
|
||||
Procedure Register;
|
||||
|
||||
begin
|
||||
RegisterStdFormats;
|
||||
{ RegisterFixedExportFormat;
|
||||
RegisterSQLExportFormat;
|
||||
RegisterSimpleXMLExportFormat;
|
||||
RegisterSimpleJSONExportFormat;
|
||||
RegisterDBFExportFormat;
|
||||
RegisterTexExportFormat;
|
||||
RegisterRTFExportFormat;
|
||||
Register}
|
||||
|
||||
RegisterComponents('Data Export',[TCSVExporter,
|
||||
TFixedLengthExporter,
|
||||
TSQLExporter,
|
||||
|
Loading…
Reference in New Issue
Block a user