See Also Example
Apply To
Grid.
Description
Determine the total number of columns or rows in a grid. The minimum is 1. The maximum number of rows is 2000; the maximum number of columns is 400.
Usage
[form.]grid.Cols[ = numericexpression ]
[form.]grid.Rows[ = numericexpression ]
Remarks
You can use these properties to expand a grid dynamically at run time. A grid must have at least one non-fixed column and one non-fixed row.
Note The Cols, Rows properties are not the same as the Col, Row properties.
Data Type
Integer
Help:
Col, Row Properties
Programmer's Guide:
Chapter 3, "Creating and Using Controls"