BBjGrid::setCellVerticalAlignment
Description
In BBj 18.00 and higher, this method sets the cell vertical alignment of a BBjGrid cell.
Syntax
Return Value |
Method |
---|---|
void |
setCellVerticalAlignment(int row, int column, int align) |
Parameters
Parameter | Description |
---|---|
row | Specifies the row index of a cell. |
column |
Specifies the column of a cell. |
align |
Specifies the cell vertical alignment from one of the following Align Value Constants:
|
Return Value
None.
Remarks
The default vertical alignment is GRID_ALIGN_CENTER
.
In the GUI client, vertical alignment is only meaningful for the following non-editable cell styles:
Constant | Cell Style |
---|---|
GRID_STYLE_BUTTON_DOWN | Recessed button |
GRID_STYLE_BUTTON_UP | Raised button |
GRID_STYLE_CHECKED | Checked checkbox |
GRID_STYLE_LABEL | Label |
GRID_STYLE_TEXT | Text field |
GRID_STYLE_UNCHECKED | Unchecked checkbox |
Example
|
Version History
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.