CGrid:SetSH_Width


The SetSH_Width method sets the width of a side heading column. All side heading columns are set to the same width. To set the cell width for columns outside the side heading, use SetColWidth. Use this method to override the value of GridParams.nSH_Width

Syntax

CGrid:SetSH_Width( nWidth )

bullet.gif    nWidth is the total side heading width in screen pixels.

Example

The following script sets the side heading width to 100 pixels:

G = new_grid()

-- create a new CGrid object

-- assemble the grid

 

G:SetSH_Width( 100 )

-- set the width of each side heading column to 100 pixels

Related Topics

CGrid class, SetColWidth


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