TCustomFloatSpinEdit.Change procedure
Updates Modified prior to sending control messages and signalling OnChange handler(s).
Declaration
procedure Change; overrideDescription
Change is an overridden method in
TCustomFloatSpinEdit.
It ensures that the value in
Modified is updated when the
widgetset class applies a new value for the control. An internal flag is used
to determine if Modified is set to
False prior to calling the
inherited Change method. The flag is set when a new value is applied to the
Value property in program code (instead of using the UI elements for the
control). This is performed here because the widgetset class calls Changed
and not TextChanged.
Change calls the inherited method where the CM_CHANGED control message is posted, and assigned OnChange handlers are signalled for the control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
