IsItemEditable Function

Class

TreeView.

Action

Test whether the item in the treeview is editable.

Availability

Windows operating systems.

This functionality is supported only if you are using the Classic Agent.

Syntax

bCanEdit = treeview.IsItemEditable(Item)
Variable Description
bCanEdit TRUE if the item in the treeview is editable. BOOLEAN.
Item The item to test. STRING or INTEGER.

Notes

IsItemEditable returns TRUE if the specified treeview item can be edited using the mouse and keyboard. To edit an item, double-click on it and a textedit control displays to allow the item to be edited.

For information on specifying Item, see TreeView Class.

Example

if(MyDialog.MyTreeView.IsItemEditable("/root/child"))
//...