unit Main;

interface

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

type
  TForm2 = class(TForm)
    procedure FormShow(Sender: TObject);
    procedure FormActivate(Sender: TObject);
    procedure FormDestroy(Sender: TObject);
    procedure FormCreate(Sender: TObject);

  private

  public
    constructor Create(AOwner: TComponent); override;

  end;

var
  Form2: TForm2;

implementation

{$R *.dfm}

constructor TForm2.Create(AOwner: TComponent);
begin
  inherited;

end;

procedure TForm2.FormActivate(Sender: TObject);
begin
	ShowMessage('Form Activate');
end;

procedure TForm2.FormCreate(Sender: TObject);
begin
	ShowMessage('Form Create');
end;

procedure TForm2.FormDestroy(Sender: TObject);
begin
	ShowMessage('Form Destroy');
end;

procedure TForm2.FormShow(Sender: TObject);
begin
	ShowMessage('Form Show');	
end;

end.
