bOk = MTblQueryDropDownListContext( hWndCol, nrRow )

Queries a column's current drop down list context.

Parameters
hWndCol
Window Handle: Handle of the column.

nrRow
Receive Number: Number of the row, TBL_Error when the drop down list context is on the column.

Return
Boolean: TRUE if successful or FALSE if an error occured or the current drop down list context is invalid

Example
In this example we check if the drop down list context is on the expected row. If not, the context is set:
Set nRowCurrent = TBL_Error
Set nRowExpected = 5
If NOT ( MTblQueryDropDownListContext( hWndCol, nRowCurrent ) AND nRowCurrent = nRowExpected )
  Call MTblSetDropDownListContext( hWndCol, nRowExpected )

See also
Cell types

Created with the Personal Edition of HelpNDoc: Produce electronic books easily