[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| SET BORDER |
+---------------------------------+
SET BORDER TO [SINGLE | DOUBLE
| PANEL | NONE
| <border string1>
[, <border string2>]]
-----------------------------------
Defines the border string for boxes.
Default - SINGLE
-----------------------------------
SET BORDER lets you define the borders of boxes, menus, popups and
windows. Boxes are created with @ ... BOX and @ ... TO, menu bars are
created with DEFINE MENU and MENU, popups with DEFINE POPUP and windows
with DEFINE WINDOW.
SET BORDER provides compatibility with FoxBASE+ style popups. When
FoxPro is started, the default border for FoxBASE+ style popups is a
double line border. All other objects (windows, popups created with
DEFINE POPUP and so on) default to a single line border. If you issue a
SET BORDER TO SINGLE or SET BORDER TO DOUBLE, all objects including
FoxBASE+ style popups will now be drawn with a single or double line
border respectively.
If you issue SET BORDER TO without any additional arguments, the default
borders are restored.
Clauses
-------
SINGLE
Creates single line border.
DOUBLE
Creates double line border.
PANEL
Creates wide border.
NONE
Suppresses border.
<border string1> [,<border string2>]
Define own borders with border definition strings <border string1> and
<border string2>. The first border definition string <border string1>
is used in menus, popups and boxes and for current output window. The
optional second border string <border string2> is the border that
appears when output is not being directed to the window.
A border definition string is a set of ASCII character values defined
[<1>] [, [<2>] [, [<3>] [, [<4>] [, [<5>] [, [<6>] [, [<7>] [,
[<8>]]]]]]]]. The border string entries one through eight designate the
top, bottom, left side, right side, upper left corner, upper right
corner, lower left corner and lower right corner of the border
respectively. If you include just one ASCII value in the border string
definition, the entire border will be drawn using that one character.
For example, to create a border of diamonds, you can issue the commands
SET BORDER TO CHR(4).
If a border string definition is changed after a box, menu, popup, or
window has been defined, they will retain the original border string.
To use the new border string you must redefine the box, menu, popup, or
window.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson