Docs: LCL/spin. Removes extra spaces in topics.

This commit is contained in:
dsiders 2022-06-20 15:59:05 +01:00
parent 87eb571217
commit 8890938b93

View File

@ -144,7 +144,7 @@
<var>Change</var> is an overridden method in <var>TCustomFloatSpinEdit</var>. It ensures that the value in <var>Modified</var> 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 <b>False</b> 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.
</p>
<p>
Change calls the inherited method where the CM_CHANGED control message is posted, and assigned OnChange handlers are signalled for the control.
Change calls the inherited method where the CM_CHANGED control message is posted, and assigned OnChange handlers are signalled for the control.
</p>
</descr>
<seealso>
@ -162,7 +162,7 @@
EditingDone is an overridden method in TCustomFloatSpinEdit. It ensures that the control is updated when editing has been completed.
</p>
<p>
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 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.
</p>
<p>
EditingDone calls the inherited method to signal the OnEditingDone event handler (when assigned) when ReadOnly is <b>False</b>.
@ -314,7 +314,7 @@
<short>Handles key press events for the control.</short>
<descr>
<p>
<var>KeyPress</var> is an overridden method used to handle key press events for the control. KeyPress calls the inherited method on entry. If the character in <var>Key</var> is not handled in the ancestor class, the argument is examined to determine if it is valid for the control. If Key is not a valid character, it is set to <b>#0</b> to ignore the key press event.
<var>KeyPress</var> is an overridden method used to handle key press events for the control. KeyPress calls the inherited method on entry. If the character in <var>Key</var> is not handled in the ancestor class, the argument is examined to determine if it is valid for the control. If Key is not a valid character, it is set to <b>#0</b> to ignore the key press event.
</p>
<p>
KeyPress disallows any value in Key that is not a numeric digit, sign character ('+' or '-'), scientific exponentiation symbol ('E' or 'e'), or decimal point character ('.' or ','). The decimal point is automatically converted to the value used in the <var>DefaultFormatSettings</var> variable from the RTL. The decimal point is not allowed when <var>Decimals</var> is set to <b>0</b> (<b>zero</b>).
@ -492,7 +492,7 @@
<short>The value for the spin edit control.</short>
<descr>
<p>
<var>Value</var> is a <var>Double</var> property which contains the value for the spin edit control. Its content can be modified using the UI elements for the control (up and down buttons, up and down cursor keys, edit box for the control). It can also be directly assigned in program code.
<var>Value</var> is a <var>Double</var> property which contains the value for the spin edit control. Its content can be modified using the UI elements for the control (up and down buttons, up and down cursor keys, edit box for the control). It can also be directly assigned in program code.
</p>
<p>
Changing the value for the property causes the <var>Text</var> for the control to be checked for a valid numeric representation in the property. If the new property value is the same as the existing value, no actions are performed.