Subroutines > Detailed Descriptions > XTREE > XTREE Parameters > coldef > cformat

Editable radio button

cformat switch:  R

Similar to T (checkbox) but has the additional behavior of automatically clearing any other radio buttons on the same row when one of them is set. Thus two or more columns of radio buttons may serve as a way of inputting a "one of" choice. See sample program XTRA6.

By default, all of the radio buttons on a row are in the same group, whether contiguous or not. To define multiple groups of radio buttons, see the "Group" option in Advanced Coldef Options.

The XTRA6 sample program illustrates radio buttons with cell colors.

See cformat code r for non-editable radio button.