BBjGrid::getColumnVerticalAlignment
Description
In BBj 19.00 and higher, this method returns the cell vertical alignment of all cells in a BBjGrid column.
Syntax
|
Return Value |
Method |
|---|---|
|
int |
getColumnVerticalAlignment(int column) |
Parameters
|
Variable |
Description |
|---|---|
|
column |
Specifies the column index. |
Return Value
Returns one of the following alignment constants for the specified column:
| 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
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.