Changeset 138 for trunk/Forms/UFormMain.pas
- Timestamp:
- Aug 23, 2022, 10:06:54 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r129 r138 19 19 MenuItem12: TMenuItem; 20 20 MenuItem13: TMenuItem; 21 MenuItemColumns: TMenuItem; 21 22 MenuItem3: TMenuItem; 22 23 MenuItem4: TMenuItem; … … 59 60 procedure FormResize(Sender: TObject); 60 61 procedure FormShow(Sender: TObject); 62 procedure MenuItemColumnsClick(Sender: TObject); 61 63 procedure MenuItemToolbarClick(Sender: TObject); 62 64 private … … 76 78 77 79 uses 78 UCore, UFormContacts, UVCard, UVCardFile ;80 UCore, UFormContacts, UVCard, UVCardFile, URegistry; 79 81 80 82 resourcestring … … 121 123 CoolBar1.AutosizeBands; 122 124 125 FormContacts.Context := TRegistryContext.Create(Core.ApplicationInfo1.RegistryRoot, 126 Core.ApplicationInfo1.RegistryKey + '\ContactsColumns'); 123 127 FormContacts.Contacts := TVCardFile(Core.DataFile).VCard.Contacts; 124 128 FormContacts.ManualDock(Self, nil, alClient); … … 128 132 FormContacts.EndUpdate; 129 133 end; 134 end; 135 136 procedure TFormMain.MenuItemColumnsClick(Sender: TObject); 137 begin 138 FormContacts.AColumns.Execute; 130 139 end; 131 140
Note:
See TracChangeset
for help on using the changeset viewer.