Ver Mensaje Individual
  #2  
Antiguo 16-10-2011
novato_erick novato_erick is offline
Miembro
 
Registrado: ago 2010
Ubicación: Panamá
Posts: 396
Reputación: 14
novato_erick Va por buen camino
Bueno yo mismo respondiendo.

Viendo un poco logre presentara el caption en el tabSheet de esta manera:

Código Delphi [-]
procedure TfrPriincipal.acrearExecute(Sender: TObject);

var
Page : TTabSheet;

begin
 FrmCliente := TfrmCliente.Create(FrmCliente);
  Try
    FrmCliente.Parent := frPriincipal.PageControl1;
    Page := TTabSheet.Create(PageControl1);
    Page.PageControl := PageControl1;
    Page.Caption :='Cliente';
    FrmCliente.show;
  Finally
   // En esta parte no se que pondría...
    end;
  end;

end;

lo único malo es que no encuentro ahora una propiedad para cerrar ese formulario el tabSheet...

alguien con alguna idea?


Saludos

novato_erick
Responder Con Cita