Changeset 100 for trunk/Forms
- Timestamp:
- Aug 31, 2016, 9:57:15 AM (8 years ago)
- Location:
- trunk/Forms
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormAcronyms.lfm
r85 r100 53 53 object StatusBar1: TStatusBar 54 54 Left = 0 55 Height = 2 856 Top = 53 055 Height = 24 56 Top = 534 57 57 Width = 740 58 58 Panels = < … … 68 68 Left = 0 69 69 Height = 26 70 Top = 50 470 Top = 508 71 71 Width = 740 72 72 Align = alBottom … … 96 96 OnCompareItem = ListViewSort1CompareItem 97 97 OnFilter = ListViewSort1Filter 98 OnColumnWidthChanged = ListViewSort1ColumnWidthChanged 98 99 Column = 0 99 100 Order = soUp -
trunk/Forms/UFormAcronyms.pas
r97 r100 45 45 Selected: Boolean); 46 46 procedure ListViewFilter1Change(Sender: TObject); 47 procedure ListViewSort1ColumnWidthChanged(Sender: TObject); 47 48 function ListViewSort1CompareItem(Item1, Item2: TObject): Integer; 48 49 procedure ListViewSort1Filter(ListViewSort: TListViewSort); … … 235 236 end; 236 237 238 procedure TFormAcronyms.ListViewSort1ColumnWidthChanged(Sender: TObject); 239 begin 240 ListViewFilter1.UpdateFromListView(ListViewAcronyms); 241 end; 242 237 243 function TFormAcronyms.ListViewSort1CompareItem(Item1, Item2: TObject): Integer; 238 244 begin -
trunk/Forms/UFormImportSources.lfm
r85 r100 307 307 OnCompareItem = ListViewSort1CompareItem 308 308 OnFilter = ListViewSort1Filter 309 OnColumnWidthChanged = ListViewSort1ColumnWidthChanged 309 310 Column = 0 310 311 Order = soNone -
trunk/Forms/UFormImportSources.pas
r97 r100 56 56 Selected: Boolean); 57 57 procedure ListViewFilter1Change(Sender: TObject); 58 procedure ListViewSort1ColumnWidthChanged(Sender: TObject); 58 59 function ListViewSort1CompareItem(Item1, Item2: TObject): Integer; 59 60 procedure ListViewSort1Filter(ListViewSort: TListViewSort); … … 128 129 end; 129 130 131 procedure TFormImportSources.ListViewSort1ColumnWidthChanged(Sender: TObject); 132 begin 133 ListViewFilter1.UpdateFromListView(ListView1); 134 end; 135 130 136 function TFormImportSources.ListViewSort1CompareItem(Item1, Item2: TObject 131 137 ): Integer; … … 235 241 var 236 242 NewImportSource: TImportSource; 237 I: Integer;238 243 begin 239 244 if Assigned(ListView1.Selected) then begin -
trunk/Forms/UFormMain.lfm
r97 r100 1 1 object FormMain: TFormMain 2 Left = 6032 Left = 454 3 3 Height = 446 4 Top = 3424 Top = 401 5 5 Width = 782 6 6 Caption = 'Acronym Decoder' 7 ClientHeight = 42 17 ClientHeight = 422 8 8 ClientWidth = 782 9 9 Menu = MainMenu1 … … 17 17 object Panel1: TPanel 18 18 Left = 0 19 Height = 39 519 Height = 396 20 20 Top = 26 21 21 Width = 782 22 22 Align = alClient 23 23 BevelOuter = bvNone 24 ClientHeight = 39 524 ClientHeight = 396 25 25 ClientWidth = 782 26 26 TabOrder = 1 27 27 object CheckBoxExactMath: TCheckBox 28 28 Left = 8 29 Height = 2 429 Height = 21 30 30 Top = 3 31 Width = 10 431 Width = 102 32 32 Caption = 'Exact match' 33 33 OnChange = CheckBoxExactMathChange … … 44 44 object ListViewAcronyms: TListView 45 45 Left = 8 46 Height = 32 346 Height = 324 47 47 Top = 64 48 48 Width = 767 … … 1434 1434 OnCompareItem = ListViewSort1CompareItem 1435 1435 OnFilter = ListViewSort1Filter 1436 OnColumnWidthChanged = ListViewSort1ColumnWidthChanged 1436 1437 Column = 0 1437 1438 Order = soUp -
trunk/Forms/UFormMain.pas
r98 r100 116 116 Selected: Boolean); 117 117 procedure ListViewFilter1Change(Sender: TObject); 118 procedure ListViewSort1ColumnWidthChanged(Sender: TObject); 118 119 function ListViewSort1CompareItem(Item1, Item2: TObject): Integer; 119 120 procedure ListViewSort1Filter(ListViewSort: TListViewSort); … … 452 453 begin 453 454 UpdateAcronymsList; 455 end; 456 457 procedure TFormMain.ListViewSort1ColumnWidthChanged(Sender: TObject); 458 begin 459 ListViewFilter1.UpdateFromListView(ListViewAcronyms); 454 460 end; 455 461
Note:
See TracChangeset
for help on using the changeset viewer.