CGrid:SetRowStretch
The SetRowStretch method sets the vertical stretch factor for grid rows. Use SetTH_RowStretch to increase the height of the top heading rows. This method overrides the initial grid property defined by the value of GridParams.nRowStretch and GridParams.nTH_RowStretch.
CGrid:SetRowStretch( nFactor )
nFactor is the multiplier relative to the normal row height, relative to 1.0.
The following script increases the row height to 1.5 times normal:
|
-- create a new CGrid object |
-- assemble the grid |
|
|
-- increase the row height by 1.5 times. |
CGrid class, SetColWidth, SetTH_RowStretch
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.