GetPosition Function (Scale ScrollBar)

Class

Scale and ScrollBar.

Action

Returns the position of the scroll bar or scale.

Syntax

nPos = object.GetPosition()
Variable Description
nPos The current position of the scale or scroll bar. INTEGER or NUMBER.

Notes

GetPosition returns the internal numeric value of the current position of the scroll bar or scale. For scales, the number returned is an INTEGER or a NUMBER. For scroll bars, the number returned is an INTEGER.

Example

INTEGER iPos
iPos = Open.FilesSB.GetPosition()