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.
CGrid:SetSH_RowStretch( nFactor )
nFactor is the multiplier relative to the normal top heading row height, relative to 1.0.
The following script increases the top heading row height to 1.5 times normal:
|
-- create a new CGrid object |
-- assemble the grid |
|
|
-- increase the top row height by 1.5 times. |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.