CGrid:SetVertAlign
The SetVertAlign method sets the vertical alignment for all grid cells. To set the vertical alignment for cells in the top heading, use SetTH_VertAlign. This method overrides the initial grid property defined by the value of GridParams.nVertAlign.
CGrid:SetVertAlign( nAlign )
Where nAlign is the alignment value: 1: align top, 2: align bottom, 3: align center.
The following script sets the alignment of row 12 to "bottom":
|
-- create a new CGrid object |
-- assemble the grid |
|
|
-- set the cell alignment to "bottom" |
CGrid class, SetHorzAlign, SetTH_VertAlign
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.