ExecuteAction is an overridden Boolean function used to -signal the OnActionExecute (when assigned) using -ExeAction as the action executed in the event handler. It sets the -default value for the Handled argument to the event handler to -False. The argument can be updated in the event handler, and is used -as the return value for the method. +signal an OnActionExecute event handler assigned to the control. +ExecuteAction reimplements the method defined in the ancestor (TComponent) +and does not call the inherited method.
-ExecuteAction re-implements the method defined in the ancestor, and does -not call the inherited method. +ExecuteAction signals a TActionEvent event handler using the action instance +in ExeAction as an argument. The Handled argument in the event is +used as the return value for the method, and is set to True if the +action was successfully executed in an event handler. +
++In LCL version 2.4 or higher, multiple handler routines can be assigned which +use the ahtActionExecute event type. This situation can occur when +TApplicationProperties tries to assign an OnActionExecute handler to the +TApplication instance and it already has a user-specified handler. It can also +happen when the AddOnActionExecuteHandler method is called directly to add a +handler routine for the application event type. +
++If OnActionExecute handler is not assigned, or returns False, the other +handlers in the internal list are signalled to determine whether they can +execute the action. Each handler routine is signalled until one of them +changes the Handled argument in the event type to True. If none of the +routines can execute the action, the return value is False.
UpdateAction is an overridden Boolean function used to -signal the OnActionUpdate event handler (when assigned) to update -the settings for the action in TheAction. It sets the default -value for the Handled argument to the event handler to -False. The argument can be updated in the event handler, and is used -as the return value for the method. -
--UpdateAction re-implements the method defined in the ancestor, and does +signal an OnActionUpdate event handler (when assigned) to update +the settings in the action instance in TheAction. UpdateAction +reimplements the method defined in the ancestor (TComponent), and does not call the inherited method.
++UpdateAction signals a TActionEvent event handler using the action instance +in TheAction as an argument. The Handled argument in the event is +used as the return value for the method, and is set to True if the +action was successfully updated in an event handler. +
++In LCL version 2.4 or higher, multiple handler routines can be assigned which +use the ahtActionUpdate event type. This situation can occur when +TApplicationProperties tries to assign an OnActionUpdate handler to the +TApplication instance and it already has a user-specified handler. It can also +happen when the AddOnActionUpdateHandler method is called directly to add a +handler routine for the application event type. +
++If OnActionUpdate handler is not assigned, or returns False, the other +handlers in the internal list are signalled to determine whether they can +update the action. Each handler routine is signalled until one of them +changes the Handled argument in the event type to True. If none of the +routines can update the action, the return value is False. +