Sign in Join
FPDoc Onlineexperiment

TCustomLabel.TextChanged procedure

Member of TCustomLabelprotectedIn unit StdCtrls

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

Declaration

pascal
procedure TextChanged; override

Description

TextChanged is an overridden method used to perform actions needed when the CM_TEXTCHANGED message is handled for the control. TextChanged calls Invalidate to request the control to be redrawn. UpdateSize is called to perform auto-sizing, and recalculate the dimensions for the control. The font may be re-sized when OptimalFill is enabled.

TextChanged does not call the inherited method.

See also

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