DeleteItems

Applies to

ListView, TreeView controls

Description

When the DeleteItems property is true, the user can delete items from the ListView or TreeView with the Delete key. When DeleteItems is false, the user cannot delete items.

Usage


In a painter

StepsTo allow users to delete items from the control:

  1. Select the DeleteItems check box on the General page of the control’s Properties view.


In scripts

The DeleteItems property takes a boolean value. The following example disables deletion of ListView items by the user:

lv_1.DeleteItems = FALSE