Sign in Join
FPDoc Onlineexperiment

TApplicationHandlerType enumeration

In unit Forms

Types of Application notification handlers.

Declaration

pascal
TApplicationHandlerType = (ahtIdle,ahtIdleEnd,ahtKeyDownBefore,
 ahtKeyDownAfter,ahtActivate,ahtDeactivate,
 ahtUserInput,ahtException,ahtEndSession,
 ahtQueryEndSession,ahtMinimize,ahtModalBegin,
 ahtModalEnd,ahtRestore,ahtDropFiles,ahtHelp,
 ahtHint,ahtShowHint,ahtGetMainFormHandle,
 ahtActionExecute,ahtActionUpdate)

Description

TApplicationHandlerType is an enumerated type with values that identify handler categories used in TApplication.

TApplicationHandlerType is used as an index value for the internal array of TMethodList instances used in TApplication. It is passed as an argument to the AddHandler and RemoveHandler methods in TApplication to identify the method list where the handler is stored. It is also used in the implementation of TApplication methods used to retrieve, execute, or maintain handlers such as: Destroy and RemoveAllHandlersOfObject.

Values

ahtIdleApplication becoming idle.
ahtIdleEndApplication idle state is ending.
ahtKeyDownBeforeHandler for KeyDown events, invoked before interface and LCL handlers.
ahtKeyDownAfterDefault handler for KeyDown events, invoked after interface and LCL handlers.
ahtActivateHandler invoked on application activated.
ahtDeactivateHandler invoked on application deactivated.
ahtUserInputHandler invoked on user input.
ahtExceptionHandler invoked on handled exception.
ahtEndSessionHandler invoked on session end.
ahtQueryEndSessionHandler invoked before session ends.
ahtMinimizeHandler invoked when the application is minimized.
ahtModalBeginHandler invoked when a form is shown modally.
ahtModalEndHandler invoked when the last modal form is closed.
ahtRestoreHandler invoked on application restored (from minimized state).
ahtDropFilesHandler invoked on files dropped.
ahtHelpHandler invoked on F1 key (help request).
ahtHintHandler invoked on Hint request.
ahtShowHintHandler invoked on Hint becoming visible.
ahtGetMainFormHandleHandler provides the Handle for the main form.
ahtActionExecuteHandler signalled to execute an action.
ahtActionUpdateHandler signalled to update an action.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.