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

# TBasicActionLink.SetOnExecute

Assigns the OnExecute handler to the client

## Declaration

`protected procedure TBasicActionLink.SetOnExecute(`
`Value: TNotifyEvent`
`); virtual;`

## Description

SetOnExecute must be overridden by descendent classes to pass the OnExecute handler of the associated action to the client control. It will attach the OnExecute handler to whatever handler is appropriate for the client control.

## See also

TBasicAction.OnExecute |  | Event triggered when the action executes.
TBasicAction |  | Abstract base class for all Actions.