Please enable JavaScript to view this site.

A-Shell Consolidated Reference

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

Column contains editable text

Scroll Prev Top Next More

Rewritten May 2014

cformat switch: E

Sample image here and another sample image here.

When focus is placed on a cell in the column by clicking directly or by navigating with keyboard characters, the cell becomes an edit control, allowing the text contents to be changed. Aside from very basic editing parameters (type of characters, maximum length), validation is left to the application. The XTREE operation can be made to exit, allowing the application to retrieve the updated cell contents from the Answer array to validate/correct/reject the edit and then re-enter at a chosen cell.

This option may be combined with and/or modified by several other  codes, Advanced Coldef Options, and flags options. In particular:

cformat X (Conditional validation)
cformat u (Read-only editable)
cformat  l  (Combo Box)
Mask

See Also