Examples

The following creates a simple check box:

DISPLAY CHECK-BOX, TITLE "Option &1",
        HANDLE IN CHECK-BOX-1.

Here is the Screen Section equivalent:

03 CHECK-BOX, "Option &1".

In this example, the check box starts out with a check mark in it:

DISPLAY CHECK-BOX "Option &2", VALUE 1,
        HANDLE IN CHECK-BOX-2.

It is common in Screen Section entries to assign a VALUE data item to the box so that you can set and test the check box:

03 CHECK-BOX, "Option &3", USING OPTION-3-FLAG.

Here is a check box that can be dynamically disabled (grayed-out):

03 CHECK-BOX, "Option &4", USING OPTION-4-FLAG,
         ENABLED = BOX-4-ENABLED-FLAG.