Loaded procedure executed twice for TFrame's descendant
问题 I've registered as component a TFrame 's descendant class and I've noticed that the Loaded procedure is executed twice: Runtime: TMyFrame = class(TFrame) private protected procedure Loaded(); override; public constructor Create(AOwner : TComponent); override; end; constructor TMyFrame.Create(AOwner : TComponent); begin ShowMessage('Before TMyFrame.Create'); inherited Create(AOwner); ShowMessage('After TMyFrame.Create'); end; procedure TMyFrame.Loaded(); begin ShowMessage('Before TMyFrame