|
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
|