Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarItem.ActionChange(TObject,Boolean) Method

Updates linked item controls to reflect changes in associated actions.

#Declaration

Delphi
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