Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > XTREE > XTREE Parameters > Coldef > Cformat

Non-editable checkbox

Scroll Prev Top Next More

Updated and reviewed July 2020

cformat switch:  t 

This should be a single character column, whose contents are "0" for an unchecked box, "1" for a checked box, or blank for a blank cell (with no checkbox). Non-editable checkboxes act just like other data columns, and do not require the XTF_EDITABLE flag or have any correspondence with the array parameter.

Comments

As long as the checkbox value column position is blank, the entire field contents will be displayed as text, even if the column width is more than one. This might be useful in some exotic situations where a single column contains check-boxes in some rows, but text in others. The text would not be editable, regardless of the editable state of the column. See History.

History

2020 June, A-Shell 6.5.1684:  Checkbox columns may now contain text as long as the first data position—i.e. the checkbox value character—is blank.