Changeset 230 for trunk/Forms/FormCategories.pas
- Timestamp:
- Jan 24, 2025, 11:42:58 PM (9 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormCategories.pas
r227 r230 181 181 Item.Caption := Name; 182 182 Item.Data := ListViewSort1.List[Item.Index]; 183 Item.SubItems.Add(IntToStr(AcronymMeanings.Count)); 183 Item.SubItems.Add(IntToStr(GetAcronymMeaningsCount)); 184 Item.SubItems.Add(IntToStr(GetImportSourcesCount)); 184 185 Item.Checked := Enabled; 185 186 end; … … 211 212 case Column of 212 213 0: Result := CompareString(TAcronymCategory(Item1).Name, TAcronymCategory(Item2).Name); 213 1: Result := CompareInteger(TAcronymCategory(Item1).AcronymMeanings.Count, TAcronymCategory(Item2).AcronymMeanings.Count); 214 1: Result := CompareInteger(TAcronymCategory(Item1).GetAcronymMeaningsCount, 215 TAcronymCategory(Item2).GetAcronymMeaningsCount); 216 2: Result := CompareInteger(TAcronymCategory(Item1).GetImportSourcesCount, 217 TAcronymCategory(Item2).GetImportSourcesCount); 214 218 end; 215 219 if ListViewSort1.Order = soDown then Result := -Result;
Note:
See TracChangeset
for help on using the changeset viewer.