Mal nur so nebenbei ...
wäre es nicht besser, das Modified und NewContact in dem Object TContact zu verwalten?
Delphi-Quellcode:
type
TMeinObject = class
private
FModified : Boolean;
FIsNew : Boolean;
FInfo : string;
procedure SetInfo(const Value : string);
public
property IsNew : Boolean read FIsNew;
property Modified : Boolean read FModified;
property Info : string read FInfo write SetInfo;
procedure Load;
constructor Create;
end;
implementation
procedure TMeinObject.SetInfo(const Value : string);
begin
if FInfo <> Value then FModified := True;
FInfo := Value;
end;
procedure TMeinObject.Load;
begin
FInfo := 'Daten';
FIsNew := False;
FModified := False;
end;
procedure TMeinObject.Create;
begin
inherited;
FInfo := '';
FIsNew := True;
FModified := False;
end;
das macht die Sache doch irgendwie runder ...
cu
Oliver
Kaum macht man's richtig - schon funktioniert's

Zertifikat: Sir Rufo (Fingerprint: ea 0a 4c 14 0d b6 3a a4 c1 c5 b9
dc 90 9d f0 e9 de 13 da 60)