Sign in Join
FPDoc Onlineexperiment

TCustomBitBtn.TextChanged procedure

Member of TCustomBitBtnprotectedIn unit Buttons

Performs actions needed when the CM_TEXTCHANGED control message is handled for the control.

Declaration

pascal
procedure TextChanged; override

Description

TextChanged is an overridden method in TCustomBitBtn. It ensures that the control is updated when the value in the Caption property has been changed. AdjustSize is called to auto-size a visible control and its parent. The value in DefaultCaption is set to False after the new value has been assigned for the Caption property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.