Einzelnen Beitrag anzeigen

Schokohase
(Gast)

n/a Beiträge
 
#2

AW: TObjectList<TMyClass> create und inherited

  Alt 5. Feb 2019, 07:32
Das ist doch problemlos möglich, aber eben so
Delphi-Quellcode:
type
  TMyObjectList = class(TObjectList<TObject>)
  public
    constructor Create(AOwnsObjects: Boolean = True);
  end;

constructor TMyObjectList.Create(AOwnsObjects: Boolean);
begin
  inherited;
end;
  Mit Zitat antworten Zitat