Subroutines > Detailed Descriptions > XTREE > XTREE Parameters
flags2

Updated January 2011

This parameter is a continuation of the flags parameter, providing additional bits for additional options. Note that both flags and flags2 are passed to the xcall as a single structure containing both sets of flags. See flags for details on how this must be mapped. Also see xtr’miscflags for additional flags and more information.

Symbol

Value

Description

XTF2_HOME_CTRL

&h00000001

Exit on <Home or End> without CTRL+. See XTF2_HOME_CTRL and _END_CTRL.

XTF2_END_CTRL

&h00000002

XTF2_NAVCOL

&h00000003

Combo of above for editing and navigation.

XTF2_PORTRAIT

&h00000004

Portrait or landscape printing.

XTF2_LANDSCAPE

&h00000008

XTF2_AUTOEXPCOL

&h00000010

Auto expand columns.

XTF2_CSV

&h00000020

Support for CSV format.

XTF2_PGUPDN

&h00000040

Enable PgUp/PgDn (exitcodes 4, 6).

XTF2_DOWN

&h00000080

Enable Ctrl+Down on last row (exitcode -43).

XTF2_NORESPONSE

 

Eliminates return of any response information for a particular XTREE call.

XTF2_CLRDEFER

&h00000100

Tells XTREE to ignore any previous inactive click and to clear any secondary events associated with it. See discussion of Clicks on Inactive XTREEs. Also tells XTREE to discard any unprocessed keyboard characters at the start of the start of the XCALL operation (so that the session starts out waiting for new keyboard and mouse events, rather than processing ones that occurred prior to the XCALL).

XTF2_PROPSHEET

&h00000800

Property sheet (aka "vertical") mode.

XTF2_ANSEQDATA

&h00001000

Used to indicate that the layout of the answer array is the same as that of the data array.

XTF2_DRAGDROP2

&h00002000

Drag/drop between trees.

XTF2_SAVRES

&h00008000

Causes PCKLST to save the screen area.

XTF2_POPUP

&h00010000

Causes the tree control to be created as a popup rather than as a child control.

XTF2_ENTER
NAVDOWN

&h00020000

Alters the default cell editing navigation response to the Enter key, provided there is no EnterGoto option defined for the current column. When specified, instead of acting like Tab and moving to the next editable cell to the right, Enter acts like DownArrow, except that from the last row it wraps back up to the top.

Hex-Decimal Values