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

TBasicAction.SetOnExecute

Assigns an OnExecute event handler

Declaration

protected procedure TBasicAction.SetOnExecute(

  Value: TNotifyEvent

); virtual;

Description

SetOnExecute sets the OnExecute handler of the component. It also propagates this event to all client controls, and finally triggers the OnChange event.

See also

TBasicAction.OnExecute

  

Event triggered when the action executes.

TBasicAction.OnChange

  

Occurs when one of the action's properties changes.