GetRange Function (UpDown)

Class

UpDown.

Action

Returns the numeric range of the up-down control.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

rMinMax = updown.GetRange()
Variable Description
rMinMax The range of the object. SBRANGE.

Notes

GetRange returns the minimum and maximum values that the up-down control can reach.

Example

Verify(xUpDown.MyUpDown.GetRange(), [SBRANGE]{0, 100})
Note: In the example you have to typecast the value that GetRange is being verified against to SBRANGE, the return type of GetRange.