Aracılığıyla paylaş


SET READBORDER Command

Determines whether borders are placed around text boxes created with @ ... GET.

SET READBORDER ON | OFF

Parameters

  • ON
    Places a single-line border around all text boxes created with @ ... GET. If SET READBORDER is set to ON when the first text box is created, all subsequent text boxes created in the same READ level also have borders.

  • OFF
    (Default) Specifies that a border isn't placed around text boxes created with @ ... GET. If SET READBORDER is set to OFF when the first text box is created, all subsequent text boxes created in the same READ level do not have borders.

Remarks

SET READBORDER specifies whether single-line borders are placed around text boxes created with @ ... GET.

Example

In the following example, the first three text boxes created with @ ... GET have borders. The third text box has a border, even though SET READBORDER was SET to OFF before it was created. The fourth text box does not have a border, since READBORDER was SET to OFF and it is encompassed in a different READ from the first three text boxes.

SET READBORDER ON
@ 2,2 GET gnW DEFAULT 1   && 1st READ
@ 4,2 GET gnX DEFAULT 1   && 1st READ
SET READBORDER OFF
@ 6,2 GET gnY DEFAULT 1   && 1st READ
READ
@ 8,2 GET gnZ DEFAULT 2   && 2nd READ
READ

See Also

Reference

READ Command

READ EVENTS Command

@ ... GET - Text Boxes Command

SET Command Overview

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)