Changeset 27 for trunk/Forms/UFormAcronyms.pas
- Timestamp:
- Jun 7, 2016, 3:56:46 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormAcronyms.pas
r22 r27 27 27 MenuItem7: TMenuItem; 28 28 PopupMenuAcronym: TPopupMenu; 29 StatusBar1: TStatusBar; 29 30 procedure AAddExecute(Sender: TObject); 30 31 procedure AModifyExecute(Sender: TObject); … … 41 42 procedure ListViewSort1Filter(ListViewSort: TListViewSort); 42 43 private 44 MeaningCount: Integer; 43 45 procedure FilterList(List: TListObject); 44 46 procedure UpdateAcronymsList; … … 211 213 FormMain.AcronymDb.Acronyms.Sort(AcronymComparer); 212 214 FormMain.AcronymDb.AssignToList(ListViewSort1.List); 215 MeaningCount := ListViewSort1.List.Count; 213 216 FilterList(ListViewSort1.List); 214 217 end; … … 247 250 ListViewSort1.Refresh; 248 251 UpdateInterface; 252 StatusBar1.Panels[0].Text := 'Total: ' + IntToStr(MeaningCount); 253 StatusBar1.Panels[1].Text := 'Filtered: ' + IntToStr(ListViewAcronyms.Items.Count); 249 254 end; 250 255
Note:
See TracChangeset
for help on using the changeset viewer.