Skip to content

NextColumn - cCJGridColumn

Used by the Next message to locate the next keyboard focusable column

Type: Function
Return Data Type: Boolean

Parameters

Parameter Type Description
ByRef hoCol Handle Returns (by reference) the next focusable column
ByRef bWrap Boolean Returns (by reference) true if the next column is in the next row

Syntax

Function NextColumn ByRef Handle hoCol ByRef Boolean bWrap Returns Boolean

Call Example

Get NextColumn hoCol bWrap to BooleanVariable

Description

When the user presses the Tab key to move to the next column, the Next message is called. This message determines what that next column should be by calling the SelectedColumn object's NextColumn message. NextColumn must find the appropriate column by taking into account the current column display order, a column's visibility and a column's ability to take the focus during next keyboard navigation. NextColumn performs this task by sending the message CanNavigateIntoColumn to each column in the column display order until it finds a suitable column. It then returns whether a next column exists and, by reference, the next column object and whether the next column is in a new row.

Return Value

Returns true if a Next column object can be found.