bOk = MTblDisableRow( hWndTbl, nRow, bDisable )

Disables or enables a row.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row number

bDisable
Boolean: TRUE = disable, FALSE = enable

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

Example
In this example all selected rows are disabled:

Set nRow = -1
While SalTblFindNextRow( hWndTbl, nRow, ROW_Selected, 0 )
 Call MTblDisableRow( hWndTbl, nRow, TRUE )

Remarks
Enabling a row only works for the cells whose columns are enabled.
The row is really disabled, that means that a cell of the row never gets the focus. Even SalTblSetFocusCell returns FALSE if you try to set the focus to a cell of a disabled row.

See also
Disable cells and rows

Created with the Personal Edition of HelpNDoc: iPhone web sites made easy