Class TAdEventHandler

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdEventHandler = class(TAdPersistent)

Description

A simple class which contains all events that may be caught by a TAdWindowFramework.

Hierarchy

Overview

Properties

Published property OnPaint : TAdNotifyEvent read FPaint write FPaint;
Published property OnResize : TAdNotifyEvent read FResize write FResize;
Published property OnActivate : TAdNotifyEvent read FActivate write FActivate;
Published property OnDeactivate : TAdNotifyEvent read FDeactivate write FDeactivate;
Published property OnClose : TAdCloseEvent read FClose write FClose;
Published property OnClick : TAdClickEvent read FClick write FClick;
Published property OnDblClick : TAdClickEvent read FDblClick write FDblClick;
Published property OnMouseDown : TAdMouseEvent read FMouseDown write FMouseDown;
Published property OnMouseMove : TAdMouseMoveEvent read FMouseMove write FMouseMove;
Published property OnMouseUp : TAdMouseEvent read FMouseUp write FMouseUp;
Published property OnMouseWheel : TAdMouseWheelEvent read FMouseWheel write FMouseWheel;
Published property OnKeyPress : TAdKeyPressEvent read FKeyPress write FKeyPress;
Published property OnKeyDown : TAdKeyEvent read FKeyDown write FKeyDown;
Published property OnKeyUp : TAdKeyEvent read FKeyUp write FKeyUp;
Published property OnIdle : TAdIdleEvent read FIdle write FIdle;

Description

Properties

Published property OnPaint : TAdNotifyEvent read FPaint write FPaint;

Called when the operating systems wants the window to be redrawn.

Published property OnResize : TAdNotifyEvent read FResize write FResize;

Called when the window resizes.

Published property OnActivate : TAdNotifyEvent read FActivate write FActivate;

Called when the window gets the focus.

Published property OnDeactivate : TAdNotifyEvent read FDeactivate write FDeactivate;

Called when the window looses the focus.

Published property OnClose : TAdCloseEvent read FClose write FClose;

Called when the user wants to close the window.

See also
TAdCloseEvent
Published property OnClick : TAdClickEvent read FClick write FClick;

Called when a click on the window surface is cast.

Published property OnDblClick : TAdClickEvent read FDblClick write FDblClick;

Called when a double-click on the window surface is cast.

Published property OnMouseDown : TAdMouseEvent read FMouseDown write FMouseDown;

Called when a mouse button is pressed on the window surface.

See also
TAdMouseEvent
Published property OnMouseMove : TAdMouseMoveEvent read FMouseMove write FMouseMove;

Called when the mouse moves on the window surface.

See also
TAdMouseMoveEvent
Published property OnMouseUp : TAdMouseEvent read FMouseUp write FMouseUp;

Called when a moouse button is released.

See also
TAdMouseEvent
Published property OnMouseWheel : TAdMouseWheelEvent read FMouseWheel write FMouseWheel;

Called when the mousewheel is moved up or down.

See also
TAdMouseWheelEvent
Published property OnKeyPress : TAdKeyPressEvent read FKeyPress write FKeyPress;

Called when a key on the keyboard , which produces a readable character, is pressed. Depending on OS settings, KeyPress may also be called when a key is hold down for a specific time.

See also
TAdKeyPressEvent
Published property OnKeyDown : TAdKeyEvent read FKeyDown write FKeyDown;

Called when a key on the keyboard is pressed.

See also
TAdKeyEvent
Published property OnKeyUp : TAdKeyEvent read FKeyUp write FKeyUp;

Called when a key on the keyboard is released.

See also
TAdKeyEvent
Published property OnIdle : TAdIdleEvent read FIdle write FIdle;

Use OnIdle to inject your application main loop here.

See also
TAdIdleEvent

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00