Hola tempto.
El evento que se dispara cuando se está creando es
OnCreate del propio MDIChild, pero también podes darle la posición y el tamaño desde la creación en el MDIForm:
Código Delphi
[-]
...
uses Unit2;
procedure TForm1.MostrarChild(AFormClass: TFormClass);
var
i: integer;
begin
for i:= 0 to MDIChildCount - 1 do if Screen.Forms[i] is AFormClass then
with Screen.Forms[i] do
begin
if WindowState = wsMinimized then WindowState:= wsNormal;
Screen.Forms[i].BringToFront; Exit;
end;
with AFormClass.Create(Application) do
begin
Left:= 1;
Top:= 1;
Height:= 250;
Width:= 300;
Show;
end;
end;
Ejemplo de llamada:
Código Delphi
[-]
...
begin
MostrarChild(TForm2);
end;
Un saludo.