Description
Used to get or set the cell alignment to the left, center, or right of a specific cell in the GridChoiceDialog. The alignment is applied to the text in the cell where the specified row and column intersect.
Applicable Events
Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.CellAlignment (nRow, nCol)
Parameters
Object is a reference to the GridChoiceDialog object. For more information, see GridChoiceDialog Object (page GridChoiceDialog Object).
CellAlignment is the command.
nRow is the row number that the specified cell is in.
nCol is the column number that the specified cell is in.
Example
To get the property value:
nAlign = GridChoiceDialog.CellAlignment(1,2) ‘ get text alignment of cell at row 1, col 2
To specify the property value:
GridChoiceDialog.CellBackColor(2,1) = UG_ALIGNRIGHT ‘ set text alignment of cell at row 2, col 1 to Right