Ignore:
Timestamp:
Jan 31, 2018, 11:38:07 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Use correct translation files. Translate contact edit form.
  • Fixed: Build deb file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormContact.pas

    r3 r7  
    3333    TabSheetDetails: TTabSheet;
    3434    TabSheetAll: TTabSheet;
     35    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
     36    procedure FormCreate(Sender: TObject);
     37    procedure FormShow(Sender: TObject);
    3538  private
    3639
     
    4750{$R *.lfm}
    4851
     52uses
     53  UCore;
     54
    4955{ TFormContact }
     56
     57procedure TFormContact.FormShow(Sender: TObject);
     58begin
     59  Core.PersistentForm1.Load(Self);
     60end;
     61
     62procedure TFormContact.FormClose(Sender: TObject; var CloseAction: TCloseAction
     63  );
     64begin
     65  Core.PersistentForm1.Save(Self);
     66end;
     67
     68procedure TFormContact.FormCreate(Sender: TObject);
     69begin
     70  Core.CoolTranslator1.TranslateComponentRecursive(Self);
     71end;
    5072
    5173procedure TFormContact.LoadData(Contact: TContact);
Note: See TracChangeset for help on using the changeset viewer.