Phantom Documentation

[Help Home] [Phantom Home]
SetPos

window.SetPos(iPos);

Applicable Classes: ScrollBar

Parameters:
int iPos - The new position of the slider in the ScrollBar.  This value must be between the maximum and minimum values of the ScrollBar.
Return Value: None.

Description:
This function sets the current position of a ScrollBar. This value is somewhere between the minimum value (obtained by calling GetMinimum) and the maximum value of the ScrollBar (obtained by calling GetMaximum).

For an example of this function, see the ScrollBar functions page.


See Also: ScrollBar Functions



Copyright 2000-2011 Phantom Automated Solutions