Ver Mensaje Individual
  #5  
Antiguo 12-02-2004
Avatar de pepelu1975
pepelu1975 pepelu1975 is offline
Miembro
 
Registrado: feb 2004
Posts: 52
Reputación: 23
pepelu1975 Va por buen camino
Aqui esta todo el codigo del boton

unit unit_logistica;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;

type
TForm1 = class(TForm)
crear_expo: TButton;
procedure crear_expoClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.crear_expoClick(Sender: TObject);
begin
begin
fForm := TForm2.Create(Self);
try
fForm.ShowModal;
finally
fForm.Free;
end;
end;

end.

Muchas gracias por todo
Responder Con Cita