MTblGetMergeRow

Functions ›› MTblGet... ›› MTblGetMerge... ››
Parent Previous Next

bOk = MTblGetMergeRow( hWndTbl, nRow, nrMergeRow )

Retrieves the row with which the specified row is merged.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row number

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

Return
Boolean: TRUE if successful or FALSE if the row isn't a merged row or an error occurs

Example
In this example we check whether a row is merged:

If MTblGetMergeRow( hWndTbl, nRow, nMergeRow )
 Call SalMessageBox( "The row " || SalNumberToStrX( nMergeRow, 0 ) || " is merged with row " || SalNumberToStrX( nMergeRow, 0 ) || ".", "Merge info", 0 )

See also
Row merging
Cell merging

Created with the Personal Edition of HelpNDoc: Free EPub producer