Changeset 19 for trunk/Forms/UFormMain.pas
- Timestamp:
- Mar 30, 2018, 12:13:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r17 r19 49 49 procedure FormCloseQuery(Sender: TObject; var CanClose: boolean); 50 50 procedure FormCreate(Sender: TObject); 51 procedure FormDestroy(Sender: TObject); 51 52 procedure FormShow(Sender: TObject); 52 53 procedure MenuItemToolbarClick(Sender: TObject); … … 77 78 procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction); 78 79 begin 80 FormContacts.Close; 79 81 Core.PersistentForm1.Save(Self); 80 82 end; … … 90 92 end; 91 93 94 procedure TFormMain.FormDestroy(Sender: TObject); 95 begin 96 FormContacts.Free; 97 end; 98 92 99 procedure TFormMain.FormShow(Sender: TObject); 93 100 begin … … 96 103 Core.ThemeManager1.UseTheme(Self); 97 104 Core.PersistentForm1.Load(Self); 105 106 FormContacts := TFormContacts.Create(nil); 107 FormContacts.Contacts := TContactsFile(Core.DataFile).Contacts; 98 108 FormContacts.ManualDock(Self, nil, alClient); 99 109 FormContacts.Align := alClient;
Note:
See TracChangeset
for help on using the changeset viewer.