Changeset 68 for trunk/UContact.pas
- Timestamp:
- Dec 10, 2021, 11:15:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UContact.pas
r66 r68 162 162 163 163 uses 164 UQuotedPrintable ;164 UQuotedPrintable, UCommon; 165 165 166 166 const … … 674 674 I: Integer; 675 675 begin 676 while AItems.Count < Count do AItems.Add(''); 677 while AItems.Count > Count do AItems.Delete(AItems.Count - 1); 678 for I := 0 to Count - 1 do 679 AItems[I] := Items[I].Title; 676 AItems.BeginUpdate; 677 try 678 while AItems.Count < Count do AItems.Add(''); 679 while AItems.Count > Count do AItems.Delete(AItems.Count - 1); 680 for I := 0 to Count - 1 do begin 681 AItems.Objects[I] := Items[I]; 682 AItems[I] := Items[I].Title; 683 end; 684 SortStrings(AItems); 685 finally 686 AItems.EndUpdate; 687 end; 680 688 end; 681 689
Note:
See TracChangeset
for help on using the changeset viewer.