Changeset 63 for trunk/UContact.pas
- Timestamp:
- Dec 9, 2021, 11:17:22 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UContact.pas
r61 r63 110 110 Properties: TContactProperties; 111 111 Parent: TContactsFile; 112 function FullNameToFileName: string; 112 113 function GetProperty(Field: TContactField): TContactProperty; overload; 113 114 function GetProperty(FieldIndex: TContactFieldIndex): TContactProperty; overload; … … 728 729 end; 729 730 731 function TContact.FullNameToFileName: string; 732 var 733 I: Integer; 734 begin 735 Result := Fields[cfFullName]; 736 for I := 1 to Length(Result) do begin 737 if Result[I] in [':', '/', '\', '.', '"', '*', '|', '?', '<', '>'] then 738 Result[I] := '_'; 739 end; 740 end; 741 730 742 function TContact.GetProperty(Field: TContactField): TContactProperty; 731 743 var
Note:
See TracChangeset
for help on using the changeset viewer.