BBjGrid::getRowVerticalAlignment
Description
In BBj 18.00 and higher, this method returns the vertical alignment of all cells in a BBjGrid row.
Syntax
|
Return Value |
Method |
|---|---|
|
int |
getRowVerticalAlignment(int row) |
Parameters
|
Variable |
Description |
|---|---|
|
row |
Specifies the zero-based row index. |
Return Value
Returns one of the following alignment constants for the specified row:
| Align Value Constants |
|---|
| GRID_ALIGN_TOP |
| GRID_ALIGN_CENTER |
| GRID_ALIGN_BOTTOM |
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.