Seguro que esta parte está bien??
.Create(application);
para Tform2.
"application" en la segunda ventana hija de la primera ventana hija, sería bueno que chequees la documentación de ayuda para ver cual es el parámetro indicado para ese constructor.
<<
Create creates and initializes a new TForm object or an object derived from TForm.
constructor Create(AOwner: TComponent); override;
Description
Use Create to create and initialize a new TForm object or an object derived from TForm. AOwner is the owner of the TForm object.
Create calls the CreateNew method, passing it AOwner, and then performs initialization tasks if the object is derived from TForm.
>>
AOwner no debería ser la ventana hija (para crear la ventana "nieta") en lugar de "application" << .Create(self); >> ?
|