bOk = MTblGetLastMergedRow( hWndTbl, nRow, nrLastMergedRow )

Retrieves the last row which is merged with the specified row.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row number

nrLastMergedRow
Receive Number: Contains the last row which is merged with the specified row if the function returns successfully

Return
Boolean: TRUE if successful or FALSE if there are no merged rows or an error occurs

Example
In this example we check whether a row has merged rows:

If MTblGetLastMergedRow( hWndTbl, nRow, nLastMergedRow )
  Call SalMessageBox( "The row has merged rows.", "Merge info", 0 )

See also
Row merging
Cell merging

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