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

TBasicAction.SetOnExecute

Assigns an OnExecute event handler

Declaration

Source position: classesh.inc line 1716

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

OnExecute

  

Event triggered when the action executes.

OnChange

  

Occurs when one of the action's properties changes.

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