Ignore:
Timestamp:
Apr 9, 2022, 11:52:13 AM (2 years ago)
Author:
chronos
Message:
  • Added: TVCard as TComponent descendant.
  • Modified: TContactsFile renamed to TVCardFile and moved into separate file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormCompare.pas

    r127 r129  
    55uses
    66  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
    7   UContact, Diff, LCLType, LCLIntf, ComCtrls, Buttons, Menus, ActnList, SynEdit,
     7  UVCard, Diff, LCLType, LCLIntf, ComCtrls, Buttons, Menus, ActnList, SynEdit,
    88  SynEditMiscClasses, SynHighlighterPosition, SynEditHighlighter, UCommon,
    99  USynEditEx;
     
    8383
    8484uses
    85   UCore;
     85  UCore, UVCardFile;
    8686
    8787{ TFormCompare }
     
    334334  Ext := ExtractFileExt(AFileName);
    335335  if Ext = VCardFileExt then begin
    336     with TContactsFile.Create do
     336    with TVCardFile.Create do
    337337    try
    338338      LoadFromFile(AFileName);
    339       Result := AsString;
     339      Result := VCard.AsString;
    340340    finally
    341341      Free;
Note: See TracChangeset for help on using the changeset viewer.