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
CGrid:SetSH_Width( nWidth )
nWidth is the total side heading width in screen pixels.
The following script sets the side heading width to 100 pixels:
|
-- create a new CGrid object |
-- assemble the grid |
|
|
-- set the width of each side heading column to 100 pixels |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.