Changeset 158 for trunk/Core.pas


Ignore:
Timestamp:
Jun 12, 2023, 12:07:42 AM (17 months ago)
Author:
chronos
Message:
  • Added: File menu action Export to export vCard data into CSV, XML, MediaWiki, Excel paste, and HTML.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r155 r158  
    1616    AAbout: TAction;
    1717    AboutDialog1: TAboutDialog;
     18    AFileExport: TAction;
    1819    ANormalize: TAction;
    1920    ARemoveExactDuplicates: TAction;
     
    5051    procedure AFileCombineExecute(Sender: TObject);
    5152    procedure AFileCompareExecute(Sender: TObject);
     53    procedure AFileExportExecute(Sender: TObject);
    5254    procedure AFileNewExecute(Sender: TObject);
    5355    procedure AFileOpenExecute(Sender: TObject);
     
    130132uses
    131133  FormMain, FormSettings, FormFindDuplicity, FormCompare, TestCase, FormNormalize,
    132   FormGenerate, FormError, FormFind, FormTest, FormSource, TestCases;
     134  FormGenerate, FormError, FormFind, FormTest, FormSource, TestCases, FormExport;
    133135
    134136resourcestring
     
    196198  finally
    197199    FreeAndNil(FormCompare);
     200  end;
     201end;
     202
     203procedure TCore.AFileExportExecute(Sender: TObject);
     204var
     205  FormExport: TFormExport;
     206begin
     207  FormExport := TFormExport.Create(nil);
     208  try
     209    FormExport.ShowModal;
     210  finally
     211    FormExport.Free;
    198212  end;
    199213end;
Note: See TracChangeset for help on using the changeset viewer.