Ver Mensaje Individual
  #6  
Antiguo 12-07-2011
ingmichel ingmichel is offline
Miembro
 
Registrado: jun 2007
Posts: 137
Reputación: 17
ingmichel Va por buen camino
Justamente

muchas gracias x_aguilarf por tu ayuda, hice lo k me dijiste y justamente era asi que debia hacer para resolver el inconveniente, bueno me esta pareciendo bastante interezante esto de los forms mdi, pero no se mucho sobre ellos asi que cualquier problema que se me presente, pedire ayuda.
gracias a todos...
Cita:
Empezado por x_aguilarf Ver Mensaje
prueba haciendo lo mismo pero con las funciones FormActivate y FormDeactivate:


Código Delphi [-]
.....
implementation

uses Unit1; // frmMain

procedure TfrmChild.FormActivate (Sender: TObject);
begin
frmMain.ToolBar1.Visible:= False;
Toolbar1.Parent:= frmMain; // Toolbar de frmChild
Toolbar1.Visible := True;
end;

...

procedure TfrmChild.FormDeactivate(Sender: TObject; var Action: TCloseAction);
begin
frmMain.ToolBar1.Visible:= True;
Toolbar1.Visible := False;
end;
end.

Responder Con Cita