Changeset 13 for trunk/Forms
- Timestamp:
- Feb 4, 2018, 12:47:01 PM (7 years ago)
- Location:
- trunk/Forms
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContacts.lfm
r8 r13 7 7 ClientHeight = 605 8 8 ClientWidth = 807 9 DesignTimePPI = 12010 9 OnClose = FormClose 11 10 OnCreate = FormCreate 12 11 OnShow = FormShow 13 LCLVersion = '1.8.0. 6'12 LCLVersion = '1.8.0.4' 14 13 object ListView1: TListView 15 14 Left = 0 … … 19 18 Align = alClient 20 19 Columns = < 20 item 21 Caption = 'Full Name' 22 Width = 200 23 end 21 24 item 22 25 Caption = 'First name' … … 29 32 item 30 33 Caption = 'Last Name' 31 Width = 10034 Width = 387 32 35 end> 33 36 OwnerData = True -
trunk/Forms/UFormContacts.pas
r8 r13 68 68 if Assigned(Contacts) and (Item.Index < Contacts.Count) then 69 69 with TContact(Contacts[Item.Index]) do begin 70 Item.Caption := FirstName; 70 Item.Caption := FullName; 71 Item.SubItems.Add(FirstName); 71 72 Item.SubItems.Add(MiddleName); 72 73 Item.SubItems.Add(LastName); -
trunk/Forms/UFormMain.lfm
r8 r13 5 5 Width = 785 6 6 Caption = 'FormMain' 7 ClientHeight = 5067 ClientHeight = 497 8 8 ClientWidth = 785 9 DesignTimePPI = 12010 9 Menu = MainMenu1 11 10 OnClose = FormClose … … 13 12 OnCreate = FormCreate 14 13 OnShow = FormShow 15 LCLVersion = '1.8.0. 6'14 LCLVersion = '1.8.0.4' 16 15 object CoolBar1: TCoolBar 17 16 Left = 0 … … 36 35 AnchorSideTop.Control = CoolBar1 37 36 Left = 24 38 Height = 2 237 Height = 28 39 38 Top = 5 40 Width = 1 0539 Width = 132 41 40 Align = alNone 42 41 AutoSize = True … … 56 55 end 57 56 object ToolButton2: TToolButton 58 Left = 2457 Left = 30 59 58 Top = 0 60 59 Action = Core.AFileOpen … … 63 62 end 64 63 object ToolButton3: TToolButton 65 Left = 5964 Left = 74 66 65 Top = 0 67 66 Action = Core.AFileSave 68 67 end 69 68 object ToolButton4: TToolButton 70 Left = 8269 Left = 103 71 70 Top = 0 72 71 Action = Core.AFileClose … … 77 76 AnchorSideTop.Control = CoolBar1 78 77 Left = 188 79 Height = 2 278 Height = 28 80 79 Top = 5 81 Width = 2480 Width = 30 82 81 Align = alNone 83 82 AutoSize = True … … 97 96 end 98 97 end 98 end 99 object StatusBar1: TStatusBar 100 Left = 0 101 Height = 30 102 Top = 467 103 Width = 785 104 Panels = < 105 item 106 Width = 200 107 end> 108 SimplePanel = False 99 109 end 100 110 object MainMenu1: TMainMenu -
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.