Sign in Join
FPDoc Onlineexperiment

TControl.Changed procedure

Member of TControlprotectedIn unit Controls

Performs actions needed when the value for the control has been changed.

Declaration

pascal
procedure Changed

Description

In TControl, Changed calls Perform to post a CM_CHANGED control message to the message processing loop. The Parent control, which provides the window handle, receives the message in its CMChanged method and calls its WindowProc processing loop.

Changed may be overridden or reimplemented in descendent classes to perform actions needed in the implementations for the controls. For instance, triggering OnChange or other notification events.

Changed is called when properties for the control, especially its value, have been modified.

See also

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