Skip to content

ItemChecked - AbstractTreeView

Determines whether a checkbox item is checked or not

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Parameters

Parameter Type Description
hItem Handle Item handle

Syntax

Property Boolean ItemChecked
Access Type Syntax
Read Access: Get ItemChecked to BooleanVariable
Write Access: Set ItemChecked to BooleanVariable/Value

Description

Determines whether a TreeView item has a checkbox or not.

pbEnableCheckboxes and ItemCheckBox must be True for this to work.

Sample

This sample shows how to check whether a TreeView checkbox item is checked or not.

Handle hItem
Boolean bChecked
...
/// do something to get an item handle
...
Get ItemChecked hItem to bChecked

Sample

This sample shows how to set a TreeView checkbox item to be checked.

Handle hItem
...
/// do something to get an item handle
...
Set ItemChecked hItem to True