ComponentOne VSFlexGrid 8.0
Rows Property

Returns or sets the total number of rows in the control.

Syntax

[form!]VSFlexGrid.Rows[ = value As Long ]

Remarks

Use the Rows and Cols properties to get the dimensions of the control or to resize the control dynamically at runtime.

The minimum number of rows and columns is 0. The maximum number is limited by the memory available on your computer. If the control runs out of memory while trying to add rows, columns, or cell contents, it will cause a run time error. To make sure your code works properly when dealing with large controls, you should add error-handling code to your programs.

If you increase the value of the Rows property, new rows are appended to the bottom of the grid. To insert rows at specific positions, use the AddItem method. If you decrease the value of the Rows property, the bottom rows are removed from the control. To remove rows at specific positions, use the RemoveItem method.

Data Type

Long

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback