BBjGrid::getColumnHeader

Description

In BBj 5.0 and higher, returns the BBjGridHeader for this grid.

Syntax

Return Value

Method

BBjGridHeader

getColumnHeader()

Parameters

None.

Return Value

Returns the BBjGridHeader representing the column header of this grid.

Remarks

This method will fail if the developer did not declare headerIDs when creating the grid. For example:

rem DOES provide headerIDs in:
Grid! = window!.addGrid(100, 101, 102, 100, 100, 100)

rem DOES NOT provide header IDs in:
AnotherGrid! = window!.addGrid(100, 100, 100, 100)

rem this statement will SUCCEED:
Header! = grid!.getColumnHeader()

rem this statement will FAIL:
AnotherHeader! = AnotherGrid!.getColumnHeader()

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.