Command @...TO Foundation
Displays a box with a single or double lined border.
@ <nTop>, <nLeft> TO <nBottom>, <nRight> ;
[COLOR <cColor>] [DOUBLE]
The screen command @...TO displays a box on the screen with single or double lines. If the row positions <nTop> and <nBottom> are identical, a horizontal line is displayed. A vertical line is displayed if the values of <nLeft> and <nRight> are identical.
After output, the cursor is positioned at the upper left corner of the box (at <nTop>+1 and <nLeft>+1) and the functions Row() and Col() return this updated position.
// In this example, two boxes are first output with @...TO.
// The same boxes are then output using the command @...BOX.
#include "Box.ch"
PROCEDURE Main
@ 5, 10 TO 10, 35
@ 5, 40 TO 10, 65 DOUBLE COLOR "N/BG"
@ 15, 10, 20, 35 BOX B_SINGLE
@ 15, 40, 20, 65 BOX B_DOUBLE COLOR "N/BG"
RETURN
RETURN
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.