CGrid:SetSH_Width CGrid:SetTH_Title

CGrid:SetTH_RowStretch


The SetSH_RowStretch method sets the vertical stretch factor for grid top heading rows. Use SetRowStretch to increase the height of the rows in the grid body. This method overrides the initial grid property defined by the value of GridParams.nRowStretch and GridParams.nTH_RowStretch.

Syntax

CGrid:SetSH_RowStretch( nFactor )

bullet.gif    nFactor is the multiplier relative to the normal top heading row height, relative to 1.0.

Example

The following script increases the top heading row height to 1.5 times normal:

G = new_grid()

-- create a new CGrid object

-- assemble the grid

 

G:SetTH_RowStretch( 1.5 )

-- increase the top row height by 1.5 times.

Related Topics

CGrid class, SetRowStretch


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