BaseValueRange¶
Qualified name: delphifmx.BaseValueRange
- class BaseValueRange¶
Bases:
Persistent
Methods
Assigns to this object the values of another TPersistent object
Checks whether the current instance and the Obj parameter are equal.
Returns the name of the object as it appears in the Object Inspector.
Checks whether the values of all properties of the current object are close to the values of the corresponding properties of the specified Obj object.
Attributes
Returns the TObject.ClassName
The step of possible Value variations.
Maximum permissible value of the floating-point Value range.
Minimum permissible value of the floating-point Value range.
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
- Equals(Obj: Object) bool ¶
Checks whether the current instance and the Obj parameter are equal. FMX.StdActns.TBaseValueRange.Equals inherits from System.TObject.Equals. All content below this line refers to System.TObject.Equals. Checks whether the current instance and the Obj parameter are equal. The function has one Obj parameter of the TObject type. By default, the Equals method shows whether the addresses corresponding to the current object and the Obj object are identical. The method returns a boolean value that represents the equality between the two addresses.
Note: Equals is supposed to be overridden in user-derived classes, to provide consumer objects with an equality determining function. For example, in the FMX.Types.TBounds class, Equals also returns True if the Rect properties of the current object and of the Obj object are equal. In the FMX.StdActns.TBaseValueRange class, Equals also returns True if all the properties of the current object and of the Obj object are equal.
- 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.
- Type:
float
- Min¶
Minimum permissible value of the floating-point Value range.
- Type:
float
- Same(Obj: BaseValueRange) bool ¶
Checks whether the values of all properties of the current object are close to the values of the corresponding properties of the specified Obj object. This function is similar to Equals, but it uses the SameValue function to compare values. That is, if between the values there is a difference that is less than the possible rounding error, then the SameValue function estimates the values as equal and Same returns True.
- 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. Note that the effective maximum value of Value decreases according to Max - ViewportSize.
- Type:
float