Changeset 165 for trunk/Forms/FormMain.pas
- Timestamp:
- Jun 30, 2023, 11:34:35 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.pas
r164 r165 56 56 ToolButton7: TToolButton; 57 57 ToolButton8: TToolButton; 58 procedure FormActivate(Sender: TObject); 58 59 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 59 60 procedure FormCloseQuery(Sender: TObject; var CanClose: boolean); … … 99 100 end; 100 101 102 procedure TFormMain.FormActivate(Sender: TObject); 103 begin 104 Core.Core.Initialize; 105 end; 106 101 107 procedure TFormMain.FormCloseQuery(Sender: TObject; var CanClose: boolean); 102 108 begin … … 110 116 Core.Core.OnDataFileChange := DataFileChangeExecute; 111 117 Core.Core.OnLastOpenedListChange := LastOpenedFileChangeExecute; 118 LastOpenedFileChangeExecute(Self); 112 119 LoadConfig; 113 120 end; … … 143 150 FormContacts.Context := TRegistryContext.Create(Core.Core.ApplicationInfo1.RegistryRoot, 144 151 Core.Core.ApplicationInfo1.RegistryKey + '\ContactsColumns'); 145 FormContacts.Contacts := TVCardFile(Core.Core.DataFile).VCard.Contacts;146 152 FormContacts.ManualDock(Self, nil, alClient); 147 153 FormContacts.Align := alClient;
Note:
See TracChangeset
for help on using the changeset viewer.