Description | Hierarchy | Fields | Methods | Properties |
type TAdEventHandler = class(TAdPersistent)
A simple class which contains all events that may be caught by a TAdWindowFramework.
property OnPaint : TAdNotifyEvent read FPaint write FPaint; |
|
property OnResize : TAdNotifyEvent read FResize write FResize; |
|
property OnActivate : TAdNotifyEvent read FActivate write FActivate; |
|
property OnDeactivate : TAdNotifyEvent read FDeactivate write FDeactivate; |
|
property OnClose : TAdCloseEvent read FClose write FClose; |
|
property OnClick : TAdClickEvent read FClick write FClick; |
|
property OnDblClick : TAdClickEvent read FDblClick write FDblClick; |
|
property OnMouseDown : TAdMouseEvent read FMouseDown write FMouseDown; |
|
property OnMouseMove : TAdMouseMoveEvent read FMouseMove write FMouseMove; |
|
property OnMouseUp : TAdMouseEvent read FMouseUp write FMouseUp; |
|
property OnMouseWheel : TAdMouseWheelEvent read FMouseWheel write FMouseWheel; |
|
property OnKeyPress : TAdKeyPressEvent read FKeyPress write FKeyPress; |
|
property OnKeyDown : TAdKeyEvent read FKeyDown write FKeyDown; |
|
property OnKeyUp : TAdKeyEvent read FKeyUp write FKeyUp; |
|
property OnIdle : TAdIdleEvent read FIdle write FIdle; |
property OnPaint : TAdNotifyEvent read FPaint write FPaint; |
|
Called when the operating systems wants the window to be redrawn. |
property OnResize : TAdNotifyEvent read FResize write FResize; |
|
Called when the window resizes. |
property OnActivate : TAdNotifyEvent read FActivate write FActivate; |
|
Called when the window gets the focus. |
property OnDeactivate : TAdNotifyEvent read FDeactivate write FDeactivate; |
|
Called when the window looses the focus. |
property OnClose : TAdCloseEvent read FClose write FClose; |
|
Called when the user wants to close the window. See also |
property OnClick : TAdClickEvent read FClick write FClick; |
|
Called when a click on the window surface is cast. |
property OnDblClick : TAdClickEvent read FDblClick write FDblClick; |
|
Called when a double-click on the window surface is cast. |
property OnMouseDown : TAdMouseEvent read FMouseDown write FMouseDown; |
|
Called when a mouse button is pressed on the window surface. See also |
property OnMouseMove : TAdMouseMoveEvent read FMouseMove write FMouseMove; |
|
Called when the mouse moves on the window surface. See also |
property OnMouseUp : TAdMouseEvent read FMouseUp write FMouseUp; |
|
Called when a moouse button is released. See also |
property OnMouseWheel : TAdMouseWheelEvent read FMouseWheel write FMouseWheel; |
|
Called when the mousewheel is moved up or down. See also |
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 |
property OnKeyDown : TAdKeyEvent read FKeyDown write FKeyDown; |
|
Called when a key on the keyboard is pressed. See also |
property OnKeyUp : TAdKeyEvent read FKeyUp write FKeyUp; |
|
Called when a key on the keyboard is released. See also |
property OnIdle : TAdIdleEvent read FIdle write FIdle; |
|
Use OnIdle to inject your application main loop here. See also |