home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Plus! (NZ) 2001 June
/
HDC50.iso
/
Runimage
/
Delphi50
/
Doc
/
APPEVNTS.INT
< prev
next >
Wrap
Text File
|
1999-08-11
|
2KB
|
56 lines
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995,99 Inprise Corporation }
{ }
{*******************************************************}
unit AppEvnts;
interface
uses Windows, Messages, SysUtils, Classes, Forms, ActnList;
type
TCustomApplicationEvents = class(TComponent)
protected
property OnActionExecute: TActionEvent;
property OnActionUpdate: TActionEvent;
property OnActivate: TNotifyEvent;
property OnDeactivate: TNotifyEvent;
property OnException: TExceptionEvent;
property OnIdle: TIdleEvent;
property OnHelp: THelpEvent;
property OnHint: TNotifyEvent;
property OnMessage: TMessageEvent;
property OnMinimize: TNotifyEvent;
property OnRestore: TNotifyEvent;
property OnShowHint: TShowHintEvent;
property OnShortCut: TShortCutEvent;
public
constructor Create(AOwner: TComponent); override;
procedure Activate;
procedure CancelDispatch;
end;
TApplicationEvents = class(TCustomApplicationEvents)
published
property OnActionExecute;
property OnActionUpdate;
property OnActivate;
property OnDeactivate;
property OnException;
property OnIdle;
property OnHelp;
property OnHint;
property OnMessage;
property OnMinimize;
property OnRestore;
property OnShowHint;
property OnShortCut;
end;
implementation