focustcheck:

Format:

focustcheck: Rx, name

focustcheck: will draw a checkbox on the screen and wait for input. If Rx contains 1, a check mark will be printed. If Rx is 0 or undefined, then no check mark will be printed. focustcheck: returns if either the Enter or Tab key is pressed and the current value of the widget will be placed in Rx. Use the spacebar to toggle the value of the widget. Rx will be 1 if widget is checked or 0 if not checked.

Parameters:

Rx: The value of the widget: 1 if checked, 0 if not checked.
name: The name of the tcheck field defined in tcheck:.