# ClickExit

> [HTML Version](clickexit.htm)

**ClickExit=<left click exitcode>, <right click exitcode>**

Causes a single click on a cell in the column to generate an exitcode. Along with the exitcode, the [XTRCTL](xtrctl.md) fields TARGETROW and TARGETCOL will be set to the clicked-on cell.

**Examples**

| **Code** | **Result** |
|------|------|
| ClickExit=-88,89 | Left click generates exitcode -88, right click 89. |
| ClickExit=0,-88 | Left click ignored, right click generates -88.  |
| ClickExit=-97,0 | Left click generates exitcode -97, right click ignored. |
