Microsoft SDK for Java

Control.getTop

Retrieves the distance between the top edge of the control and the top edge of its container's client area.

Syntax

public final int getTop()

Return Value

Returns an integer that represents the distance, in pixels, between the top edge of the control and the top edge of its container's client area.

See Also   getBounds, setTop

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