Changeset 13 for trunk/Forms
- Timestamp:
- Mar 17, 2015, 12:09:11 AM (10 years ago)
- Location:
- trunk/Forms
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormRecord.lfm
r8 r13 1 1 object FormRecord: TFormRecord 2 2 Left = 639 3 Height = 6 944 Top = 1745 Width = 85 93 Height = 649 4 Top = 223 5 Width = 858 6 6 Caption = 'FormRecord' 7 ClientHeight = 6 948 ClientWidth = 85 97 ClientHeight = 649 8 ClientWidth = 858 9 9 OnCreate = FormCreate 10 10 OnDestroy = FormDestroy … … 14 14 object Panel1: TPanel 15 15 Left = 4 16 Height = 63216 Height = 583 17 17 Top = 4 18 Width = 85 118 Width = 850 19 19 Align = alTop 20 Anchors = [akTop, akLeft, akRight, akBottom] 20 21 BorderSpacing.Around = 4 21 22 BevelOuter = bvNone … … 23 24 end 24 25 object ButtonOk: TButton 25 Left = 7 6026 Left = 759 26 27 Height = 25 27 Top = 6 4828 Top = 603 28 29 Width = 75 29 30 Anchors = [akRight, akBottom] … … 33 34 end 34 35 object ButtonCancel: TButton 35 Left = 64 936 Left = 648 36 37 Height = 27 37 Top = 6 4638 Top = 601 38 39 Width = 72 39 40 Anchors = [akRight, akBottom] -
trunk/Forms/UFormRecords.lfm
r11 r13 1 1 object FormRecords: TFormRecords 2 2 Left = 621 3 Height = 4334 Top = 4245 Width = 8 593 Height = 549 4 Top = 308 5 Width = 897 6 6 Caption = 'Records' 7 ClientHeight = 4338 ClientWidth = 8 597 ClientHeight = 549 8 ClientWidth = 897 9 9 OnShow = FormShow 10 10 Position = poMainFormCenter … … 12 12 object ListView1: TListView 13 13 Left = 4 14 Height = 38914 Height = 505 15 15 Top = 4 16 Width = 8 5116 Width = 889 17 17 Align = alClient 18 18 BorderSpacing.Around = 4 … … 39 39 Left = 0 40 40 Height = 36 41 Top = 39742 Width = 8 5941 Top = 513 42 Width = 897 43 43 Align = alBottom 44 44 ButtonHeight = 32 -
trunk/Forms/UFormRecords.pas
r11 r13 147 147 NewColumn: TListColumn; 148 148 begin 149 Table.LoadRecords; 149 150 ListView1.Columns.Clear; 150 151 for I := 0 to Table.Fields.Count - 1 do begin -
trunk/Forms/UFormTables.pas
r11 r13 77 77 with TTable(Database.Tables[Item.Index]) do begin 78 78 Item.Caption := Caption; 79 Item.SubItems.Add(IntToStr(Records .Count));79 Item.SubItems.Add(IntToStr(RecordsCount)); 80 80 Item.Data := Database.Tables[Item.Index]; 81 81 end … … 215 215 216 216 procedure TFormTables.ReloadList; 217 begin 217 var 218 I: Integer; 219 begin 220 for I := 0 to Database.Tables.Count - 1 do 221 TTable(Database.Tables[I]).LoadRecordsCount; 218 222 if Assigned(Database) then begin 219 223 ListView1.Items.Count := Database.Tables.Count;
Note:
See TracChangeset
for help on using the changeset viewer.