# flags
> [HTML Version](flagsxtext.htm)
This parameter may be used to enable additional exit keys and other options. Specify as the sum of zero or more of the following.
| **Symbol** | **Value** | **Description** |
|------|------|------|
| TXF\_FKEY | \&h00000001 | Allow F1 through F16 (returning Exitcodes -1 through –16). You must also set individual bits in [TXC.FMAPAPP](txtctl2.htm.md#txc.fmapapp) to indicate which function keys you want returned to the app as exitcodes. |
| TXF\_LEFT | \&h00000002 | Enable Ctrl+Left-arrow (Exitcode -40) |
| TXF\_RIGHT | \&h00000004 | Enable Ctrl+Right-arrow (Exitcode –41) |
| TXF\_UP | \&h00000008 | Enable Ctrl+Up-arrow (Exitcode -42) |
| TXF\_TAB | \&h00000020 | Enable Tab (Exitcode -44), and Shift+Tab (Exitcode -35) |
| TXF\_HOME | \&h00000040 | Enable Ctrl+Home key (Exitcode –45) |
| TXF\_END | \&h00000080 | Enable Ctrl+End key (Exitcode –46) |
| TXF\_ENTESC | \&h00000100 | Enter key exits from control (Exitcode 0) |
| [TXF\_MODELESS](xtext-flags.htm.md#txf_modeless) | \&h00000200 | Leave text control on the screen after exit |
| TXF\_EOT | \&h00000400 | Start editing with cursor at end of text (rather than start) |
| TXF\_DEFERSAVE | \&h00000800 | Defer (or skip) outputting text from the control to the _dst_ parameter (unless overridden by TXOP\_SAVE _opcode_). |
| TXF\_HSCROLL | \&h00002000 | Display horizontal scroll bar |
| TXF\_VSCROLL | \&h00004000 | Display vertical scroll bar |
| TXF\_RULER | \&h00008000 | Display ruler |
| [TXF\_STATUS](xtext-flags.htm.md#txf_status) | \&h00010000 | Display status bar |
| [TXF\_TOOLBAR](xtext-flags.htm.md#txf_toolbar) | \&h00020000 | Display toolbar |
| TXF\_READONLY | \&h00040000 | Read only mode. Note that unless you also set TXF\_DEFERSAVE, the text will still be output. |
| [TXF\_POSCUR](xtext-flags.htm.md#txf_poscur) | \&h00080000 | Set initial cursor position. |
| TXF\_SILENT | \&h00100000 | Eliminates the user interface and causes the operation to exit immediately. This is mainly useful in conjunction with TXOP\_CREATE to convert a file from one format into another. |
| [TXF\_DISABLE](xtext-flags.htm.md#txf_disable) | \&h00200000 | Disable control on exit |
| TXF\_DEL | \&h00400000 | Enable Del exit (Exitcode –47) |
| TXF\_MARGIN | \&h00800000 | Create space around border |
| [TXF\_NOCLICKOUT](xtext-flags.htm.md#txf_noclickout) | \&h01000000 | Ignores any click outside of the control with exitcode <-32. |
| TXF\_WRAP | \&h02000000 | Enable word wrap. Note that this flag may also be required to enable pasting of images and inserting of tables. This flag and TXF\_FITVIEW are normally both required for proper display of HTML docs. |
| TXF\_PRINTVIEW | \&h04000000 | Enable print view |
| TXF\_PAGEMODE | \&h08000000 | Enable page mode |
| TXF\_FITVIEW | \&h10000000 | Enable fitted view (text is wrapped to fit width of control). This flag and TXF\_WRAP are normally both required for proper display of HTML docs. |
| TXF\_POPUP | \&h20000000 | Give text control its own popup (movable) window |
| TXF\_MENU | \&h80000000 | May be combined with TXF\_POPUP to create a text editing control window with a complete menu bar. This exposes many new capabilities, particularly for RTF editing. |
| | | **Definition file: **[ashinc:xtext.def](https://bitbucket.org/microsabio/soslib/src/master/907016/xtext.def) |