Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > TreeView Control >

TreeView_SetIndent

Previous pageReturn to chapter overviewNext page

 

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