# Exitcode > [HTML Version](exitcode.htm) This output parameter returns a single numeric code indicating how the tree was exited. For the most part, these exitcodes are common to other several routines (INFLD, XTEXT, EVENTWAIT). | **Value** | **Depends On** | **Description** | |------|------|------| | 29 | | Indicates user clicked on drop-down arrow of a "self service" combo cell. | | 11 | XTR.timeout | Time out in milliseconds | | 10 | XTF\_CTRLC | Ctrl+C. Note that XTF\_CTRLC works even if Ctrl+C has been disabled (see [CCOFF](subroutines(shorts).htm.md#cconccoff)). | | 1 | | Escape | | 0 | | Normal exit by hitting Enter or double-clicking on an item | | \-1 thru -16 | XTF\_FKEY | F1-F16 (enable with XTF\_FKEY) | | \-35 | XTF\_TAB | Shift+Tab. If not enabled for exit, Tab and Shift+Tab may be used in conjunction with editable cells to navigate between them. | | \-40 | XTF\_LEFT | Left-Arrow. When editing a cell, left arrow will operate within the cell; use CTRL+LEFT to generate exitcode. | | \-41 | XTF\_RIGHT | Right-Aarrow. When editing a cell, right arrow will operation with the cell; use CTRL+RIGHT to generate exitcode. | | \-42 | XTF\_UP | Up-Arrow | | \-43 | XTF2\_DOWN | Down-Arrow on last row | | \-44 | XTF\_TAB | Tab key | | \-45 | XTF\_HOME | Home key | | \-46 | XTF\_END | End key | | \-47 | XTF\_DEL | Del key | | \-48 | _cformat_ codes x,X | Exit for validation of an editable cell, typically on exit from the cell, except in the case of _cformat_ uX, where the exit for validation occurs on entry into the cell. See the various editable cell controls in _[cformat](cformat.htm.md)_ and [Editable Tree Controls](editabletreecontrols.htm.md) for more details. | | \-51 | [ExitChars](exitchars.htm.md)= | Exit on receipt of character defined in list ([Advanced Coldef Options](advancedcoldefoptions.htm.md)) | | \-59 | | Double-click on a read-only editable cell (_cformat_ code **u**) | | \-75 | XTF2\_DRAGDROP | File has been dragged and dropped on the XTREE control, when enabled via XTF2\_FILEDROP. | | (others) | | A click on any other control which generates a standard virtual key click string (e.g. VK\_xF101) will cause XTREE to exit with the corresponding exitcode. Several of the Advanced Coldef Options also allow configuration of exitcodes for specific events (e.g. ClickExit, DropExit, PopupMenu, etc.) |