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

# TBasicActionLink.SetAction

Sets the action with which the actionlink is associated.

## Declaration

`protected procedure TBasicActionLink.SetAction(`
`Value: TBasicAction`
`); virtual;`

## Description

SetAction is the write handler for the Action property. It sets the Action property to it's new value, after unregistering itself with the old action, if there was one.

## See also

TBasicActionLink.Action |  | The action to which the link was assigned.
TBasicAction |  | Abstract base class for all Actions.