|

Vertical


(boolean) Whether the position will be returned for the vertical scroll bar handle:



VALUE DESCRIPTION


true


The position will be returned for the vertical scroll bar. (Default)


false


The position will be returned for the horizontal scroll bar.


Re t u r n s


(number) The position (line number) of the vertical scroll handle if Vertical is set to true (relative to the top of the vertical scroll handle). If Vertical is set to false, the position in scroll bar units (approximately 10 pixels) of the horizontal scroll handle will be returned (relative to the left side of the horizontal scroll handle). If an error occurs, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|