Objective Grid: How can I specify the number of rows and columns in the grid?

Article ID: 572
Last updated: 11 Apr, 2018
Article ID: 572
Last updated: 11 Apr, 2018
Revision: 3
Views: 1731
Posted: 12 Jan, 2001
by Meltreger B.
Updated: 11 Apr, 2018
by Meltreger B.

Problem


How can I specify the number of rows and columns in the grid?


Cause



Action


Call SetRowCount() and SetColCount().

Example:
 

// specify the dimension of the grid
SetRowCount(nRows);
SetColCount(nCols);

The row and column count can be changed again anytime at runtime.
 

This article was:   Helpful | Not helpful
Report an issue
Article ID: 572
Last updated: 11 Apr, 2018
Revision: 3
Views: 1731
Posted: 12 Jan, 2001 by Meltreger B.
Updated: 11 Apr, 2018 by Meltreger B.

Others in this category