Ver Mensaje Individual
  #2  
Antiguo 04-03-2005
kjlin kjlin is offline
Registrado
 
Registrado: mar 2005
Posts: 1
Reputación: 0
kjlin Va por buen camino
Hola, prueba esto:

Código Delphi [-]
procedure TfPrincipal.bClientesFormClick(Sender: TObject);
var
   i:Integer;
   Existe:Boolean;
begin
   i:=0;
   Existe:=false;
   while not Existe and (ido
      if Application.Components[i] is TfClientesForm then
         Existe:=true
      else
         Inc(i);
   if not Existe then
      with TfClientesForm.Create(Application) do
         Show
   else
      TForm(Application.Components[i]).Show;
end;

procedure TfBrowseForm.FormClose(Sender: TObject;
  var Action: TCloseAction);
begin
   Action:=caFree;
end;
kjlin.
Responder Con Cita