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

TreeView_SetCheck

Previous pageReturn to chapter overviewNext page

 

Description

 

The optional checkbox for the data item specified by hItem is set based upon the value of the CheckFlag parameter.

If CheckFlag is %TRUE, the item is checked. If CheckFlag is %FALSE, the item is unchecked.

 

Syntax

 

Treeview_SetCheck(hWnd, ctrlID, hItem, CheckFlag)

 

Returns

 

None

 

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 ...

hItem

Number

No

Handle of a Treeview item, used to uniquely identify the item

CheckFlag

Number

No

%TRUE or %FALSE

 

Remarks

 

Restrictions

 

See also

 

Examples