Sign in Join
FPDoc Onlineexperiment

TCustomAction.DisableIfNoHandler property

Member of TCustomActionpublicIn unit ActnList

Prevents the action from executing if an OnExecute handler is not assigned in the action.

Declaration

pascal
property DisableIfNoHandler: Boolean read FDisableIfNoHandler write FDisableIfNoHandler default False;

Description

Used in the Application message processing loop. When enabled, the action must have an OnExecute event handler - even if an OnExecute handler has been provided in the associated action list.

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