Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > OOP
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #2  
Antiguo 04-03-2005
kjlin kjlin is offline
Registrado
 
Registrado: mar 2005
Posts: 1
Poder: 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
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 20:06:41.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi