TCustomFloatSpinEdit.EditingDone procedure
Performs actions when editing has been completed for the control.
Declaration
procedure EditingDone; overrideDescription
EditingDone is an overridden method in TCustomFloatSpinEdit. It ensures that the control is updated when editing has been completed.
EditingDone calls the UpdateControl method to normalize and validate the control Value using the assigned range in MinValue and MaxValue. This includes calling GetLimitedValue to update the control Value when both MinValue and MaxValue contain a valid range. The value in the widgetset class is updated when component streaming is not active, and the control is not being freed.
EditingDone calls the inherited method to signal the OnEditingDone event handler (when assigned) when ReadOnly is False.
EditingDone is called from the KeyUpAfterInterface method in TCustomEdit when the Enter (VK_RETURN) key code is handled for the control. It also occurs when the focused control has been changed.
The method override was added in LCL version 2.2.1.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
