Changeset 13 for trunk/Forms/UFormMain.pas
- Timestamp:
- Feb 4, 2018, 12:47:01 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r8 r13 33 33 MenuItemFile: TMenuItem; 34 34 PopupMenuOpenRecent: TPopupMenu; 35 StatusBar1: TStatusBar; 35 36 ToolBarOther: TToolBar; 36 37 ToolBarFile: TToolBar; … … 60 61 61 62 uses 62 UCore, UFormContacts ;63 UCore, UFormContacts, UContact; 63 64 64 65 resourcestring 66 SCount = 'Count:'; 65 67 SModified = 'Modified'; 66 68 … … 120 122 UpdateFormTitle; 121 123 CoolBar1.Visible := MenuItemToolbar.Checked; 124 if Assigned(Core.DataFile) then 125 StatusBar1.Panels[0].Text := SCount + ' ' + IntToStr(TcontactsFile(Core.DataFile).Contacts.Count) 126 else StatusBar1.Panels[0].Text := ''; 122 127 end; 123 128
Note:
See TracChangeset
for help on using the changeset viewer.