The OBJECT GET SCROLL POSITION returns, in the vPosition and hPosition parameters, information related to the position of the scroll bars of the form object designated by the * and object parameters.
If you pass the optional * parameter, you indicate that the object parameter is the name of an object of the subform, hierarchical list, scrollable area, list box or picture type (in this case, pass a string in object). If you do not pass this parameter, you indicate that the object parameter is a table (list form or subform table) or a variable (ListRef of hierarchical list, picture or list box variable) or a field.
If object designates a list type object (subform, list form, hierarchical list, scrollable area or list box), vPosition returns the number of the first line displayed in the object. hPosition (list box only) returns the number of the first column that is completely visible in the left part of the list box. With other types of objects, this parameter returns 0.
If object designates a picture (variable or field), vPosition returns the vertical movement and hPosition the horizontal movement of the picture. These values are expressed in pixels with respect to the origin of the picture in the local coordinate system.