MTblGetRowLevel
nRowLevel = MTblGetRowLevel( hWndTbl, nRow )
Gets a row's level in the row hierarchy. The first level is 0, the second 1 and so on.
Parameters
hWndTbl
Window Handle: Handle of the table
nRow
Number: Row whose level you want to get
Return
Number: Level if successful, negative when an error occurs
Example
In this example is determined whether a row is a top level parent row:
Set nRowLevel = MTblGetRowLevel( hWndTbl, nRow )
Set bParentRow = MTblIsParentRow( hWndTbl, nRow )
Set bTopLevelParentRow = ( nRowLevel = 0 ) AND bParentRow
See also
Tree view
Created with the Personal Edition of HelpNDoc: Streamline your documentation process with HelpNDoc's HTML5 template