BBjGrid::setRowVerticalAlignment
Description
In BBj 18.00 and higher, this method sets the vertical alignment for all cells in a BBjGrid row.
Syntax
| Return Value | Method |
|---|---|
|
void |
setRowVerticalAlignment(int row, int align) |
Parameters
| Parameter | Description |
|---|---|
|
row |
Specifies the zero-based row index. |
|
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.