Microsoft SDK for Java

Form.getAutoScrollPosition

Retrieves the current autoscroll position.

Syntax

public final Point getAutoScrollPosition()

Return Value

Returns a Point object that specifies the current autoscroll position. If the autoscroll position has not been set, this Point object contains the x and y-coordinates of the form's rectangular area.

Remarks

The autoscroll position is used by the Form object to adjust the position of controls that are placed on the form through the Form's Designer.

See Also   setAutoScrollPosition

© 1999 Microsoft Corporation. All rights reserved. Terms of use.