bOk = MTblQueryTree( hWndTbl, hWndTreeCol, nNodeSize, nIndent )

Retrieves the definition how to visualize the row hierarchy.

Parameters
hWndTbl
Window Handle: Handle of the table.

hWndTreeCol
Receive Window Handle: Handle of the column that visualizes the row hierarchy

nNodeSize
Receive Number: Size of the node in pixels

nIndent
Receive Number:Indentation in pixels

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example the tree definition is retrieved and a message is shown when no tree column is defined:

Call MTblQueryTree( hWndTbl, hWndTreeCol, nNodeSize, nIndent )
If NOT hWndTreeCol
 Call SalMessageBox( 'No tree column defined', 'Message', MB_Ok )

See also
Tree view

Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease