nOrigParentRow = MTblGetOrigParentRow( hWndTbl, nRow )

Gets a row's original parent row.
The original parent row differs from the current parent row ( returned by MTblGetParentRow ) if the row was automatically moved to another position in the hierarchy.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row whose original parent row you want to get

Return
Number: Original parent row if successful, TBL_Error when not found or an error occurs

Example
In this example the original parent row of the context row is determined:

Set nOrigParentRow = MTblGetOrigParentRow( hWndTbl, SalTblQueryContext( hWndTbl ) )

See also
MTBL_TREE_FLAG_AUTO_NORM_HIER
Tree view

Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily