Please enable JavaScript to view this site.

A-Shell Consolidated Reference

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 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

&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

&h00010000

Display status bar

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

&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

&h00200000

Disable control on exit

TXF_DEL

&h00400000

Enable Del exit (Exitcode –47)

TXF_MARGIN

&h00800000

Create space around border

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