Sign in Join
FPDoc Onlineexperiment

TCustomCheckBox.TextChanged procedure

Member of TCustomCheckBoxprotectedIn unit StdCtrls

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

Declaration

pascal
procedure TextChanged; override

Description

TextChanged is an overridden method in TCustomCheckBox used to perform actions needed when the CM_TEXTCHANGED control message is handled for the control.

TextChanged calls InvalidatePreferredSize to update the sizing flags for the control and its Parent. When Parent has been assigned and its AutoSize property is True, its AdjustSize method is called. The AdjustSize method in the control is called to resize the visible control.

TextChanged calls the inherited method prior to exit.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.