Einzelnen Beitrag anzeigen

static_cast

Registriert seit: 19. Okt 2003
Ort: Peine
300 Beiträge
 
#3

Re: Problem mit TColletion zur Designzeit

  Alt 28. Feb 2005, 18:31
Hi,

hmmm nun ja:
Zitat:
[Error] TestComponente.pas(83): Incompatible types: 'TPersistent' and 'Class reference'
geht nicht


//Edit: aber eigentlich ist das doch eh egal denn:

Delphi-Quellcode:
constructor TAccounts.Create(Owner: TPersistent);
begin
  inherited Create(TAccount); // <---- hier wird der originale aufgerufen
  FOwner:=Owner;
end;
Daniel M.
"The WM_NULL message performs no operation. An application sends the WM_NULL message if it wants to post a message that the recipient window will ignore."
  Mit Zitat antworten Zitat