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