Ver Mensaje Individual
  #10  
Antiguo 07-11-2008
rarratia rarratia is offline
Miembro
 
Registrado: sep 2004
Posts: 50
Reputación: 20
rarratia Va por buen camino
Bien, entonces para formularios modales ¿podríamos tener algo así?
Código Delphi [-]
class function TParentForm.ShowWindow(ATag : Integer; var Reference) : TModalResult;
var
AForm : TForm;
begin
  AForm := Create(Application);
  AForm.Tag := ATag;
  Try
    Result := AForm.ShowModal;
  finally
    Free;
  end;
end;
Responder Con Cita