ScrollIntoView Method (AnyWin)

Class

AnyWin class.

Action

Scrolls an object into view.

Availability

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

Syntax

object.ScrollIntoView ([iXpos, iYpos])
Variable Description
iXpos Optional: The horizontal coordinate (relative to object) to scroll into view. The default is 0. INTEGER.
iYpos Optional: The vertical coordinate (relative to object) to scroll into view. The default is 0. INTEGER.

Notes

Use this method to scroll a control in a form or window into view. Note that the methods Click, DoubleClick, MultiClick, and MoveMouse make sure that the coordinates passed to them are visible, so you do not have to call ScrollIntoView before calling them.

Do not use ScrollIntoView() with a browser. Instead, make sure that Automatically scroll windows into view and Show windows which are out of view are checked on the Other tab of the Agent Options dialog box.

ScrollIntoView was not designed to work with Java classes.

Example

EmpForm.StartDate.ScrollIntoView ()