CGridView:SetNum CGridView:SetNumRows

CGridView:SetNumCols


The SetNumCols method sets the number of columns in the grid. This method updates the initial grid property defined by the value of GridParams.nCols.

Syntax

CGridView:SetNumCols( nCols )

bullet.gif    Where nCols is the number of columns for the grid.

Example

The following script sets the number of columns in a grid window:

G = attach_gridview()

-- attach a grid on the Mira desktop

G:SetNumCols( 15 )

-- sets the number of columns to 15

Related Topics

CGridView class

SetNumRows

AddSheet

GetNumCols


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.