ValueRange¶
Qualified name: delphifmx.ValueRange
- class ValueRange¶
Bases:
CustomValueRange
Wrapper for Pascal class TValueRange
Methods
Assigns to this object the values of another TPersistent object
Returns the name of the object as it appears in the Object Inspector.
Attributes
Changing
This property identifies that the TCustomValueRange type object is recalculating property values.
Returns the TObject.ClassName
The step of possible Value variations.
Increment
Embarcadero Technologies does not currently have any additional information.
IsChanged
Handles whether some properties have been changed, but values are still not recalculated.
LastValue
Embarcadero Technologies does not currently have any additional information.
Maximum permissible value of the floating-point Value range.
Minimum permissible value of the floating-point Value range.
New
Keeps the new values of ValueRange properties.
Owner
The owner component of this class instance.
The Value-based position of the thumb in the scrollable control.
Tracking
Controls whether the BeforeChange and AfterChange events are fired on each property change.
UpdateCount
Counter of how many times update changes of the ValueRange properties have been started and not accomplished.
A changeable floating-point parameter.
Used by controls such as TScrollBar to define the thumb size.
- Assign(persistent)¶
Assigns to this object the values of another TPersistent object
- ClassName¶
Returns the TObject.ClassName
- Frequency¶
The step of possible Value variations. FMX.StdActns.TCustomValueRange.Frequency inherits from FMX.StdActns.TBaseValueRange.Frequency. All content below this line refers to FMX.StdActns.TBaseValueRange.Frequency. The step of possible Value variations. Value can be multiple of Frequency, Min, or Max. For example, if
Min = 0.1 Max = 2.1 ViewportSize = 0 Frequency = 1
then Value can be:
0.1 1 2 2.1
but it cannot be:
Value = 1.1
- Type:
float
- GetNamePath()¶
Returns the name of the object as it appears in the Object Inspector.
- Max¶
Maximum permissible value of the floating-point Value range. FMX.StdActns.TCustomValueRange.Max inherits from FMX.StdActns.TBaseValueRange.Max. All content below this line refers to FMX.StdActns.TBaseValueRange.Max. Maximum permissible value of the floating-point Value range.
- Type:
float
- Min¶
Minimum permissible value of the floating-point Value range. FMX.StdActns.TCustomValueRange.Min inherits from FMX.StdActns.TBaseValueRange.Min. All content below this line refers to FMX.StdActns.TBaseValueRange.Min. Minimum permissible value of the floating-point Value range.
- Type:
float
- RelativeValue¶
The Value-based position of the thumb in the scrollable control. The RelativeValue property is calculated relatively to Value, according to the following expression:
RelativeValue = (Value-Min)/(Max-Min-ViewportSize)
It can be in the range from 0 through 1. It can be used for positioning a thumb in a scrollable control, whose parameters are defined by the ValueRange properties (Value, Min, Max, ViewportSize, and Frequency).
- Type:
float
- Value¶
A changeable floating-point parameter. FMX.StdActns.TCustomValueRange.Value inherits from FMX.StdActns.TBaseValueRange.Value. All content below this line refers to FMX.StdActns.TBaseValueRange.Value. A changeable floating-point parameter. The TBaseValueRange class associates a floating-point number Value to its Min and Max ranges.
- Type:
float
- ViewportSize¶
Used by controls such as TScrollBar to define the thumb size. FMX.StdActns.TCustomValueRange.ViewportSize inherits from FMX.StdActns.TBaseValueRange.ViewportSize. All content below this line refers to FMX.StdActns.TBaseValueRange.ViewportSize. Used by controls such as TScrollBar to define the thumb size. Note that the effective maximum value of Value decreases according to Max - ViewportSize.
- Type:
float