Danke für deine Hilfe, hier mal der Source:
Code:
type tcontactitem = class
private
Fname: string;
procedure Setname(const Value: string);
public
property name: string read Fname write Setname;
end;
type tContactItemList = class(TList)
private
function GetItems(Index: Integer): tcontactitem;
procedure SetItems(Index: Integer; const Value: tcontactitem);
public
property Items[Index : Integer]: tcontactitem read GetItems write SetItems;default;
end;
type
Toutextract = class(TComponent)
private
procedure SetOutlookVersion(const Value: outlookversion);
function Getcontacts(Index: Integer): TContactItemlist;
procedure Setcontacts(Index: Integer; const Value: TContactItemlist);
protected
public
constructor create(AOwner: TComponent); override;
destructor destroy;
property contacts[Index : Integer]: TContactItemList read Getcontacts write Setcontacts;
end;