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

TToolButton.TextChanged

Performs actions needed when the caption text for the tool button has been changed.

Declaration

Source position: comctrls.pp line 2147

protected procedure TToolButton.TextChanged; override;

Description

TextChanged is an overridden method in TToolButton used to perform actions needed when the caption text for the tool button has been changed. No actions are performed in the method if the parent tool bar has not been assigned for the tool button.

When ShowCaptions is enabled, the Invalidate method is called to cause the tool button to be redrawn.

TextChanged is called when the CM_TEXTCHANGED control message is handled for the control.

See also

TControl.TextChanged

  

Performs actions needed when the value for the Text property has been changed.

TControl.CMTextChanged

  

Performs actions needed when the value for the Text property has been changed.


Version 3.2 Generated 2024-02-25 Home