WidgetGetRowSpan

Syntax

Span = WidgetGetRowSpan(Widget)

Description

Retrieves the number of rows the specified widget spans within its parent Grid layout.

Parameters

Widget
The handle of the ProGUI widget whose row span is to be retrieved.

Return Value

Returns the number of rows spanned as an Integer. Returns 0 or #False if the widget handle is invalid or not placed in a Grid layout. The default span is 1.

Remarks

This property is only relevant for widgets placed within a layout of type #PG_Layout_Type_Grid. It determines how many grid rows the widget occupies vertically.

See Also

WidgetSetRowSpan, WidgetSetRowStart, WidgetSetColumnSpan, WidgetSetColumnStart, LayoutSetType

Supported OS

Windows, Linux