Please enable JavaScript to view this site.

A-Shell Development History

New XTRCTL fields have been added to enable and configure "row headers". "Row headers" are like column headers but appear on the left side of the each item. Currently the only display options are to display row numbers, either starting with 0 or 1, and to display them as text or buttons.

...

MAP2 XTR'HEADERSTYLE,B,1        ! col hdr style (XTHSF_xxx)

MAP2 XTR'ROWHDRSTYLE,B,1        ! row hdr style (XTHSF_xxx)

MAP2 XTR'SHOWROWHDR,B,1         ! row hdr vis/type (XTRHF_xxx)

MAP2 XTR'UNUSED2,X,13           ! unused

 

XTR'ROWHDRSTYLE uses the same flags as XTR'HEADERSTYLE XTHSF_xxxx)

XTR'SHOWROWHDR uses the following new flags (defined in XTREE.DEF):

define XTRHF_NONE      = 0     ! no row headers (default)

define XTRHF_BTNCNT0   = 3     ! numeric buttons, from 0

define XTRHF_TITLECNT0 = 4     ! numeric titles, from 0

define XTRHF_BTNCNT1   = 5     ! numeric buttons, from 1

define XTRHF_TITLECNT1 = 6     ! numeric titles, from 1

 

The differences between "buttons" and "titles" are that buttons are clickable (as a way of selecting the item), and they have a slightly different look.