MTblGetNextChildRow

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

nChildRow = MTblGetNextChildRow( hWndTbl, nRow )

Gets the next row which has the same parent as a given row.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Start row for searching

Return
Number: Next child row if successful, TBL_Error when not found or an error occurs

Example
In this example an array is filled with a row's child rows:

Set nChildRow = MTblGetFirstChildRow( hWndTbl, nRow )
While nChildRow != TBL_Error
 Set naChildRows[n] = nChildRow
 Set n = n + 1
 Set nChildRow = MTblGetNextChildRow( hWndTbl, nChildRow )

See also
Tree view

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