Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > XTREE > XTREE Parameters > Coldef > Advanced Coldef Options

Row/Col Header Color Attributes

Scroll Prev Top Next More

Added September 2024; see History

These parameters provide support for overriding row and column header color attributes.

For columns:

RGBfgColHeader=r,g,b

RGBbgColHeader=r,g,b

As with most other column attributes, specifying them for the 0 column establishes the default for the others but can still be overridden at the individual column level. Note that these refer to the "real" column headers, as opposed to the pseudo-headers established by the HdrLines=# option whose colors can be adjusted by the very similar RGBbgHeaders and RGBbgHeaders options. Also see HdrFont, XTR.HIDEHEADER, and XTR_HEADERSTYLE for other column header attributes.

For rows:

RGBfgRowHeader=r,g,b

RGBbgRowHeader=r,g,b

The row headers, however, unlike the column headers, cannot be assigned colors individually. Regardless of which column you associate the options with, they will affect all of the row headers. The exception to this rule is for Property Sheets (see XTF2_PROPSHEET), where the RGBfgRowHeader and RGBbgRowHeader options can be applied to individual "columns," keeping in mind that in Property Sheet mode, the tree is effectively rotated 90 degrees so that the column headers become row headers. Note that row headers are only visible if the XTR.SHOWROWHDR field is non-zero.

Comments

For both row and column headers, since they are normally under the stylistic control of the Windows theme system, you have to set XTR.USETHEMES=0 in order for the above options to have an effect.

History

2024 September, A-Shell 7.0.1763:  Parameters added to A-Shell, expand RGBxxRowHeaders to apply to individual rows in property sheet mode.