WidgetGetMarginTop

Syntax

MarginTop = WidgetGetMarginTop(Widget)

Description

Retrieves the current top margin setting for the specified widget. The margin is the space around the widget, outside its border.

Parameters

Widget
The handle of the ProGUI widget whose top margin is to be retrieved.

Return Value

Returns the top margin value as an Integer (in device-independent pixels, DIPs). Returns 0 or #False if the widget handle is invalid.

See Also

WidgetSetMarginTop, WidgetSetMargin, WidgetGetMargin, WidgetGetMarginLeft, WidgetGetMarginRight, WidgetGetMarginBottom

Supported OS

Windows, Linux