bIsDesc = MTblIsRowDescOf( hWndTbl, nRow, nParentRow )

Determines whether a row is descendant of another row.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row you want to check

nParentRow
Number: Parent row

Return
Boolean: TRUE if nRow is descendant of nParentRow, otherwise FALSE

Example
In this example all descendant rows of row 0 are enumerated in an array:

Set nRow = -1
While SalTblFindNextRow( hWndTbl, nRow, ROW_Selected, 0 )
 If MTblIsRowDescOf( hWndTbl, nRow, 0 )
   Set naDescRows[nDescRows] = nRow
   Set nDescRows = nDescRows + 1

See also
Tree view

Created with the Personal Edition of HelpNDoc: Full-featured Documentation generator