bDisabled = MTblIsCellDisabled( hWndCol, nRow )

Determines whether a cell is disabled.

Parameters
hWndCol
Window Handle: Handle of the column

nRow
Number: Row number

Return
Boolean: TRUE if the cell is disabled or FALSE if not

Example
In this example a message is shown when the user clicks a disabled cell:

On MTM_AreaLBtnDown
  Set hWndCol = SalNumberToWindowHandle( wParam )
  Set nRow = lParam
  If hWndCol AND lParam != TBL_Error
    If MTblIsCellDisabled( hWndCol, nRow )
      Call SalMessageBox( 'Cell is disabled', 'Message', MB_Ok )

See also
Disable cells and rows

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