Please enable JavaScript to view this site.

A-Shell 7.0 Release Notes

Navigation: Notes by Version and Date > 1763 — 16 October 2024

XTREE Row/Col Header Color Attributes

Scroll Prev Top Next More

New XTREE Advanced Coldef options add support for overriding row/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.

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

In the case of property sheets (XTF2_PROPSHEET), colors can be assigned individually to the row labels by specifying RGBfgRowHeader and RGBbgRowHeader options for different 'column' definitions. Consistent with most other attributes, specifying the RGB--RowHeader options for the zero 'column' sets the default for the subsequent 'column'. (Note that for Property Sheets, the 'column' attributes actually refer to the rows.) The RGB--ColHeader options do not apply to Property Sheets, because the true column headers are not used in that mode.