WidgetGetColumnSpan

Syntax

Span = WidgetGetColumnSpan(Widget)

Description

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

Parameters

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

Return Value

Returns the number of columns 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 columns the widget occupies horizontally.

See Also

WidgetSetColumnSpan, WidgetSetColumnStart, WidgetSetRowSpan, WidgetSetRowStart, LayoutSetType

Supported OS

Windows, Linux