[Overview][Classes][Procedures and functions][Index] |
Performs actions when editing has been completed for the control.
Source position: spin.pp line 57
protected procedure TCustomFloatSpinEdit.EditingDone; override; |
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.
|
Limits the specified value to the minimum and maximum values for the control. |
|
|
The floating point value for the spin edit control. |
|
|
Minimum value allowed in the spin edit control. |
|
|
Maximum value allowed in the spin edit control. |
|
|
Enforces the setting in the ReadOnly property when editing is finished in the control. |
|
|
Event handler signalled when editing is completed for the control. |
Version 4.0 | Generated 2025-05-03 | Home |