PreviousColumn - cCJGridColumn

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

Type: Function

Return Data Type: Boolean

Parameters: Handle ByRef hoCol Boolean ByRef bWrap

ParameterDescription
hoColReturns (by reference) the previous focusable column
bWrapReturns (by reference) true if the previous column is in the previous row


Return Value

Returns true if a Previous column object can be found.


Syntax
Function PreviousColumn Handle ByRef hoCol Boolean ByRef bWrap Returns Boolean

Call: 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.

See Also

NextColumn