[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'ActnList' (#lcl)

TCustomAction.DisableIfNoHandler

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

Declaration

Source position: actnlist.pas line 202

public property TCustomAction.DisableIfNoHandler : Boolean
  read FDisableIfNoHandler
  write FDisableIfNoHandler
  default False;

Description

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.