# Editable Cell Tree

toolslib\custctrl\editableCellTree.fp

This instrument driver contains functions for creating editable cell tree controls. With an editable cell tree control, you can edit the contents of the cells while the user interface is in operate mode. Double-click a cell to edit it in operate mode. When you finish editing the cell, press <Enter> to end the editing session for the cell.

If an editable cell tree control has a callback function, then the callback function is sent the following types of events. These events are specific to the editable cell tree control.

- EVENT_ECT_BEGIN_EDIT_CELL
  This event is sent to the editable cell tree callback when the user double-clicks a cell to edit it. This event is swallowable.
- EVENT_ECT_END_EDIT_CELL
  This event is sent to the editable cell tree callback when the user presses <Enter> to end the editing session for a cell. This event is swallowable.
- EVENT_ECT_COMMIT
  This event is sent to the editable cell tree callback when the cell value has been modified. This event is not swallowable.

You must create an editable cell tree control from an existing tree control.