MTblQueryCellType

Functions ›› MTblQuery... ›› MTblQueryCell... ››
Parent Previous Next

bOk = MTblQueryCellType( hWndCol, nRow, nrType, nrFlags, nrLines, srCheckedVal, srUnCheckedVal )

Queries the type definition of a cell and/or column.

Parameters
hWndCol
Window Handle: Handle of the column.

nRow
Number: Number of the row. Specify TBL_Error to query the type definition of the column.

nrType
Receive Number: The cell type:

Type

Meaning

COL_CellType_Undefined

Undefined, cell has the type of the column

COL_CellType_Standard

Standard edit

COL_CellType_CheckBox

Checkbox

COL_CellType_DropDownList

Drop down list

COL_CellType_PopupEdit

Popup edit

nrFlags
Receive Number: Flags:

Flag

Meaning

Valid for type

COL_CheckBox_IgnoreCase

See TD documentation of SalTblDefineCheckBoxColumn

COL_CellType_CheckBox

COL_DropDownList_Sorted

See TD documentation of SalTblDefineDropDownList

COL_CellType_DropDownList

COL_DropDownList_VScroll

See TD documentation of SalTblDefineDropDownList

COL_CellType_DropDownList

COL_DropDownList_Auto

See TD documentation of SalTblDefineDropDownList

COL_CellType_DropDownList

COL_DropDownList_Ediatble

See TD documentation of SalTblDefineDropDownList

COL_CellType_DropDownList

nrLines
Receive Number: Number of lines. Valid for types COL_CellType_DropDownList and COL_CellType_PopupEdit.

srCheckedVal
Receive String: The value when a checkbox is checked. Valid for type COL_CellType_CheckBox.

srUnCheckedVal
Receive String: The value when a checkbox is unchecked. Valid for type COL_CellType_CheckBox.

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example

Call MTblQueryCellType( hWndCol, nRow, nType, nFlags, nLines, sCheckedVal, sUnCheckedVal )

See also
Cell types

Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool