Changeset 42 for trunk/Forms/UFormProperties.pas
- Timestamp:
- Dec 2, 2021, 12:18:18 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormProperties.pas
r39 r42 83 83 Item.Caption := Name; 84 84 Item.SubItems.Add(Attributes.DelimitedText); 85 Item.SubItems.Add(Value s.DelimitedText);85 Item.SubItems.Add(Value); 86 86 Item.Data := ListViewSort1.List[Item.Index]; 87 87 end; … … 118 118 0: Result := CompareString(TContactProperty(Item1).Name, TContactProperty(Item2).Name); 119 119 1: Result := CompareString(TContactProperty(Item1).Attributes.DelimitedText, TContactProperty(Item2).Attributes.DelimitedText); 120 2: Result := CompareString(TContactProperty(Item1).Value s.DelimitedText, TContactProperty(Item2).Values.DelimitedText);120 2: Result := CompareString(TContactProperty(Item1).Value, TContactProperty(Item2).Value); 121 121 end; 122 122 if ListViewSort1.Order = soDown then Result := -Result; … … 149 149 UTF8LowerCase(TContactProperty(List.Items[I]).Attributes.DelimitedText)) > 0 then Inc(FoundCount); 150 150 if Pos(UTF8LowerCase(StringGrid.Cells[2, 0]), 151 UTF8LowerCase(TContactProperty(List.Items[I]).Value s.DelimitedText)) > 0 then Inc(FoundCount);151 UTF8LowerCase(TContactProperty(List.Items[I]).Value)) > 0 then Inc(FoundCount); 152 152 if FoundCount <> EnteredCount then List.Delete(I); 153 153 end;
Note:
See TracChangeset
for help on using the changeset viewer.