CGrid:SetHorzAlign CGrid:SetSH_HorzAlign

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.

Syntax

CGrid:SetRowStretch( nFactor )

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

Example

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

G = new_grid()

-- create a new CGrid object

-- assemble the grid

 

G:SetRowStretch( 1.5 )

-- increase the row height by 1.5 times.

Related Topics

CGrid class, SetColWidth, SetTH_RowStretch


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