SET READBORDER Command Missing from Manual

Last reviewed: June 27, 1995
Article ID: Q96295
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY

The SET READBORDER command is not listed in the manuals that come with FoxPro 2.5 for Windows. Information on SET READBORDER is in Help, but this command was not implemented when the manuals were published. This command is for FoxPro for Windows only; it will not work in FoxPro 2.5 for MS-DOS. FoxPro 2.5 for MS-DOS will ignore the SET READBORDER command, so it should not cause a coding error.

MORE INFORMATION

In FoxPro for Windows, SET READBORDER specifies if single-line borders are placed around editing regions created with @ ... GET commands. SET READBORDER is ignored in FoxPro for MS-DOS.

If SET READBORDER is ON, a single-line border is placed around all editing regions created with @ ... GET commands. If SET READBORDER is ON when the first @ ... GET command is issued, all subsequent @ ... GETs created in the same READ level also have borders.

If SET READBORDER is OFF, a border isn't placed around editing regions created with @ ... GET command. If SET READBORDER is OFF when the first @ ... GET command is issued, all subsequent @ ... GETs created in the same READ level do not have borders.

The default for SET READBORDER is OFF.

Example

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

   SET READBORDER ON

   @ 2,2 GET w DEFAULT 1   && 1st READ
   @ 4,2 GET x DEFAULT 1   && 1st READ

   SET READBORDER OFF

   @ 6,2 GET y DEFAULT 1   && 1st READ
   READ

   @ 8,2 GET z DEFAULT 2   && 2nd READ
   READ


Additional reference words: FoxWin 2.50 2.50a
KBCategory: kbprg kbdocerr
KBSubcategory: FxprgGeneral


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.