Class TPGNotifyOnFormClose (unit PGTray95)

Inherits from

TComponent

Used to hook into a forms OnClose event so we can be notified just } { before a Form closes. Used to automatically hide the Applications } { TaskBar icon on closing a form in Delphi 3.X

Constructors



Functions

procedure AddCloseEvent(AForm: TForm; AnEvent: TNotifyEvent);


destructor Destroy;


procedure DoFormOnClose(Sender: TObject; var Action: TCloseAction);

TPGNotifyOnFormClose

Properties

Events

Variables

Form : TForm;


FormOnClose : TCloseEvent;


NotifyOnFormCloseEvent : TNotifyEvent;



Constructors


Functions


procedure AddCloseEvent(AForm: TForm; AnEvent: TNotifyEvent);


destructor Destroy;


procedure DoFormOnClose(Sender: TObject; var Action: TCloseAction);

TPGNotifyOnFormClose


Properties


Events


Variables


Form : TForm;


FormOnClose : TCloseEvent;


NotifyOnFormCloseEvent : TNotifyEvent;