Skip to content

PreviousColumn - cCJGridColumn

Used by the Previous message to locate the previous keyboard focusable column

Type: Function
Return Data Type: Boolean

Parameters

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

Syntax

Function PreviousColumn ByRef Handle hoCol ByRef Boolean bWrap Returns Boolean

Call Example

Get PreviousColumn hoCol bWrap to BooleanVariable

Description

When the user presses the Shift+Tab key to move to the previous column, the Previous message is called. This message determines what that previous column should be by calling the SelectedColumn object's PreviousColumn message. PreviousColumn 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 previous keyboard navigation. PreviousColumn 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 previous column exists and, by reference, the previous column object and whether the previous column is in a different row.

Return Value

Returns true if a Previous column object can be found.