Changeset 42 for trunk/Forms
- Timestamp:
- Dec 2, 2021, 12:18:18 PM (3 years ago)
- Location:
- trunk/Forms
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContact.lfm
r40 r42 18 18 Top = 8 19 19 Width = 939 20 ActivePage = TabSheet General20 ActivePage = TabSheetOthers 21 21 Anchors = [akTop, akLeft, akRight, akBottom] 22 22 ParentFont = False 23 TabIndex = 023 TabIndex = 3 24 24 TabOrder = 0 25 25 object TabSheetGeneral: TTabSheet … … 835 835 object MemoNotes: TMemo 836 836 Left = 16 837 Height = 167837 Height = 392 838 838 Top = 48 839 839 Width = 893 -
trunk/Forms/UFormContact.pas
r40 r42 171 171 Item.Caption := Contact.Properties[Item.Index].Name; 172 172 Item.SubItems.Add(Attributes.DelimitedText); 173 Item.SubItems.Add(Contact.Properties[Item.Index].Value s.DelimitedText);173 Item.SubItems.Add(Contact.Properties[Item.Index].Value); 174 174 Item.Data := Contact.Properties[Item.Index]; 175 175 end; -
trunk/Forms/UFormContacts.pas
r39 r42 133 133 begin 134 134 if Assigned(Contacts) then Contacts.AssignToList(ListViewSort1.List) 135 else ListViewSort1.List.Clear; 135 else begin 136 ListViewSort1.List.Clear; 137 end; 136 138 FilterList(ListViewSort1.List); 137 139 end; … … 178 180 ReloadList; 179 181 UpdateInterface; 182 ListViewFilter1.Reset; 180 183 end; 181 184 -
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; -
trunk/Forms/UFormProperty.pas
r39 r42 80 80 EditName.Text := FContactProperty.Name; 81 81 EditAttributes.Text := FContactProperty.Attributes.DelimitedText; 82 EditValues.Text := FContactProperty.Value s.DelimitedText;82 EditValues.Text := FContactProperty.Value; 83 83 end else begin 84 84 EditName.Text := ''; … … 95 95 FContactProperty.Name := EditName.Text; 96 96 FContactProperty.Attributes.DelimitedText := EditAttributes.Text; 97 FContactProperty.Value s.DelimitedText:= EditValues.Text;97 FContactProperty.Value := EditValues.Text; 98 98 end; 99 99
Note:
See TracChangeset
for help on using the changeset viewer.