TCustomEdit.Modified property
Declaration
property Modified: Boolean read GetModified write SetModified;Description
Modified is a
Boolean property which indicates if the
value in
Text has been changed when a
CM_TEXTCHANGED
message is handled for the control. The value is set to
True in the
TextChanged method. The value is reset to
False when
RealSetText is called to store the value in Text to the buffer for
the control.
In short, Modified is set to True if the value in Text is changed by user interaction with the control (keyboard or clipboard). It is set to False if the value in Text was assigned in program code.
Use event handlers, like OnEditingDone or OnChange, to perform actions needed when the value for the control has been changed.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
