Skip to main content

TdxBarItem.ActionChange(TObject,Boolean) Method

Updates linked item controls to reflect changes in associated actions.

Declaration

procedure ActionChange(Sender: TObject; CheckDefaults: Boolean); dynamic;

Parameters

Name Type
Sender TObject
CheckDefaults Boolean

Remarks

ActionChange is called automatically when an associated action changes. Used for updating item controls to reflect an action’s current Caption, Enabled, Hint, Visible, and HelpContext properties and its OnClick event handler. The Sender parameter is the associated action.

The CheckDefaults parameter specifies whether properties and event handlers should be changed if they differ from the default values.

When CheckDefaults is True, properties and event handlers are changed only when current values are the default values (that is, when values have not been previously changed). When CheckDefaults is False, properties and event handlers are changed, regardless of their current values.

See Also