Version 6.3.8 for Windows
 —  Dialog Component Reference  —

After-Edit Event

This document covers the following topics:


Applies To

List View Control, Tree View Control.

Top of page

Description

If not suppressed, this event is received by a list view or tree view control when the user has finished editing the item's label. However, the event is not received if the user aborted the editing process via pressing the <Esc> key.

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

The item's STRING attribute is updated by Natural before this event is raised. However, the program is free to modify the STRING attribute within this event if it wishes to reject or alter the new label. For example, if the program wishes to reject the new label and restore the old one (for example, if the new label is invalid), it can restore the old value of the STRING attribute that it previously saved in the Before-Edit Event.

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

Top of page