Microsoft SDK for Java

Form.shouldPersistAutoScrollPosition

Retrieves a boolean value that indicates whether the autoscroll position for this form should be persisted.

Syntax

public boolean shouldPersistAutoScrollPosition()

Return Value

Returns true if the form should persist the autoscroll position; otherwise, returns false.

Remarks

If the form's autoscroll property is set to false or the current scroll position is zero, this method returns false.

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