<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > TreeView Control > TreeView Control Commands > TreeView_SetIndent |
Description
Sets the width of indentation for a tree-view control and redraws the control to reflect the new width.
Syntax
n = Treeview_SetIndent(hWnd, ctrlID, lIndent)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
lIndent |
Number |
No |
Width, in pixels, of the indentation. If this parameter is less than the system-defined minimum width, the new width is set to the system-defined minimum. |
Remarks
Restrictions
See also
Examples