Home > Language Reference > Classes > GridEx

Rows Property

Number of rows in the grid control.

Syntax

Public Property Get Rows() As Integer
Public Property Let Rows(ByVal
iCount As Integer)

ParameterDescription
iCountNew number of rows in the grid.

Remarks

The Rows property sets or retrieves the number of rows in the grid control. Valid subscripts accepted by most methods and functions expecting a row index are between 0 and the value of this property minus 1.

If you affect a new value to this property so that the number of items increases, the newly inserted items have their ItemData value set to 0, while their Masked value is set to False. If the number of items decreases, items located toward the end of the list are dropped.

Affecting zero to this property is the same as calling the Clear method.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0-
Windows CEWindows CE 3.0-