MTblDefineTree

Functions ›› MTblDefine... ›› MTblDefineTree... ››
Parent Previous Next

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

Defines how to visualize the row hierarchy.

Parameters
hWndTbl
Window Handle: Handle of the table.

hWndTreeCol
Window Handle: Handle of the column that shall visualize the row hierarchy. Specify hWndNULL for no visualizing.

nNodeSize
Number: Size of the node in pixels. Specify 0 to show no nodes.

nIndent
Number: Indent per level in pixels. Must be >= nNodeSize.

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

Example
In this example the first column is defined as tree column with a node size of 8 pixels and an indent of 16 pixels:

Call MTblDefineTree( hWndForm, SalTblGetColumnWindow( hWndForm, 1, COL_GetPos ), 8, 16 )

Remarks
The node size should be an even value.

See also
Tree view

Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation