Scale and ScrollBar.
Returns the minimum and maximum positions to which the scroll bar or scale can be set.
rMinMax = object.GetRange()
Variable | Description |
---|---|
rMinMax | The range of the object. SBRANGE or SCLRANGE. |
GetRange returns the internal numeric values of the minimum and maximum positions. The return value is a record of type SBRANGE for scroll bars or SCLRANGE for scales.
The record has these two fields:
Field | Description |
---|---|
Min | The minimum position. INTEGER for scroll bars, NUMBER for scales. |
Max | The maximum position. INTEGER for scroll bars, NUMBER for scales. |
SBRANGE sbRange sbRange = Open.FilesSB.GetRange() Open.Files.Select(sbRange.iMin) Open.Files.Select(sbRange.iMax)