diff --git a/components/lazcontrols/docs/spinex.xml b/components/lazcontrols/docs/spinex.xml index edc716a478..4317270ea2 100644 --- a/components/lazcontrols/docs/spinex.xml +++ b/components/lazcontrols/docs/spinex.xml @@ -1136,7 +1136,7 @@ value for the control in TSpinEditExBase, but it may be re-specified in a descendent class specialized for a given data type.
--MinValue is a property used to specify the minimum numeric value allowed in the Value property. MinValue uses the type specified -for the generic class. Changing the property value causes -UpdateControl to be called to range check and update members in -the control. +for the generic class.
-MinValue is used in the implementation of methods such as -IsLimited, IsOutOfLimits, SpinUpDown, and -GetLimitedValue. It also influences the value stored in the -control when a NullValueBehaviour is applied. +Use MaxValue to specify the upper limit for the value in the +control.
-Use MaxValue to specify the maximum value allowed in the control. +MinValue is used, along with MaxValue, to ensure that the Value property +falls within the specified limits. MinValue and MaxValue are not enforced +when they have not been explicitly assigned, if they contain the same value, +or when MaxValue is smaller than MinValue. This allows any numeric value to +be assigned to the control. +
++MinValue is used in the implementation of private methods such as IsLimited, +IsOutOfLimits, and SpinUpDown. It also influences the value stored in the +control when GetLimitedValue or NullValueBehaviour is +applied.
-MaxValue is a property which contains the largest numeric value +MaxValue is a property used to specify the largest numeric value allowed in the Value property. MaxValue uses the type specified -for the generic class. Changing the property value causes -UpdateControl to be called to range check and update members in -the control. +for the generic class.
-MaxValue is used in the implementation of methods such as -IsLimited, IsOutOfLimits, SpinUpDown, and -GetLimitedValue. It also influences the value stored in the -control when a NullValueBehaviour is applied. +Use MinValue to specify the lower limit for the value in the +control.
-Use MinValue to specify the smallest value allowed in the control. +MaxValue is used, along with MinValue, to ensure that the Value property +falls within the specified limits. MinValue and MaxValue are not enforced +when they have not been explicitly assigned, if they contain the same value, +or when MaxValue is smaller than MinValue. This allows any numeric value to +be assigned to the control. +
++MaxValue is used in the implementation of private methods such as IsLimited, +IsOutOfLimits, and SpinUpDown. It also influences the value stored in the +control when GetLimitedValue or NullValueBehaviour is +applied.
Value is a property which contains the numeric value for the -grouped edit control. Value used the data type specified for the generic +spin edit control. Value uses the data type specified for the generic class.
-Read access to the property value checks for an allocated handle in the -control. If the handle has not been allocated, the StrToValue -method is called to get the property value. When the handle exists, the value -stored in the internal member is used. +If a valid Handle has been allocated for the control, the property value is +retrieved by calling StrToValue using the Text for the +control. If the handle has not been allocated, the value stored in the +internal member is used.
-Write access to the property value ensures that text assigned directly to +Setting a new value for the property ensures that text assigned directly to Edit contains a valid number for the data type. This is done by calling TextIsNumber. If the new value is the same as the stored property value, no actions are performed.
-When the value for the property is changed, the UpdateControl -method is called to range check, validate, and update members in the class -instance. +When the property value is changed, it is range checked and validated. Use +MinValue and MaxValue to control the minimum and +maximum values allowed in the control. The range limits are not enforced if +they have not been explicitly assigned, contain the same value, or when +MaxValue is smaller than MinValue.
-Use MinValue and MaxValue to control the minimum and -maximum values allowed in the control. Use Increment to control -the amount applied to the control value when a button in the -UpDown control is clicked. Use NullValue and -NullValueBehaviour to control the logic applied with an invalid -numeric value is stored in the control. +Use Increment to control the amount applied to the control value +when a button in the UpDown control is clicked. Use +NullValue and NullValueBehaviour to control the logic +applied with an invalid numeric value is stored in the control.