Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

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