MTblGetFirstChildRow

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

nChildRow = MTblGetFirstChildRow( hWndTbl, nRow )

Gets a row's first child row.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row whose first child you want to get

Return
Number: First 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: Easy to use tool to create HTML Help files and Help web sites