Before-Edit Event

#### Search Results

Search

# Before-Edit Event

This document covers the following topics:

- Applies To

- Description

## Applies To

List View Control, Tree View Control.

## Description

If not suppressed, this event is received by a MODIFIABLE list view or tree view control whenever an attempt is made to edit an item's label, either by clicking its label whilst the item is selected, by pressing the F2 key whilst an item has the focus, or (programatically) via the EDIT-LABEL action.

The program can query the control's ITEM attribute to determine which list view item or tree view item caused the event to occur.

If the item's MODIFIABLE attribute is set to FALSE on returning from this event, the editing process is aborted without label editing mode being entered.

For more information, please refer to the article Label Editing in Tree View and List View Controls.

### On this page

- Applies To
- Description