## The `rowsize' property

Valid for: Grid (Special syntax applies)

You can set the size of the rows of a Grid control using the syntax:

WindowRef.ControlName.rowsize Rows Sizes
or:
'WindowName.ControlName' ŚWI 'rowsize' Rows Sizes

where Rows is a scalar or vector list of row numbers, and Sizes is a matching vector (or scalar) of the row sizes, in pixels. A row number of 0 sets the default size for all rows which are not explicitly set. Note: At least one of the Rows and Sizes parameters must be a vector, otherwise the statement will be interpreted as an attempt to read back the current sizes.

You can read back the current sizes using the syntax:

R „ WindowRef.ControlName.rowsize Rows
or:
R „ 'WindowName.ControlName' ŚWI 'rowsize' Rows

Note that, depending on the flags you have set in the `style` property, the user may be able to resize the rows.

Topic: APLX Help : System Classes : Properties : rowsize

[ Previous | Next | Contents | Index ]