bOk = MTblDisableRow( hWndTbl, nRow, bDisable )
Disables or enables a row.
Window Handle: Handle of the table
Number: Row number
Boolean: TRUE = disable, FALSE = enable
Boolean: TRUE if successful or FALSE if an error occurs
In this example all selected rows are disabled:
Set nRow = -1
While SalTblFindNextRow( hWndTbl, nRow, ROW_Selected, 0 )
Call MTblDisableRow( hWndTbl, nRow, TRUE )
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.
Disable cells and rows
Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software