Microsoft SDK for Java

Form.getAutoScrollMargin

Retrieves the width and height of the autoscroll margin.

Syntax

public final Point getAutoScrollMargin()

Return Value

Returns a Point object that identifies the width and height of the autoscroll margin. If this value has not been set, this object's x and y members are set to zero.

Remarks

The autoscroll margins define the width and height of the border around each control. This border is used to determine when scroll bars are needed on the form and where to scroll to when a control is selected.

See Also   setAutoScrollMargin

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