@ ... TO DOUBLE Not Working in FoxPro for Windows

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

SUMMARY

The @ ... TO command is used to draw a box, circle, or ellipse using the coordinates specified. If the DOUBLE clause is used, the line that is drawn has a double border. However, the DOUBLE clause does not work in FoxPro for Windows unless the output font is FoxFont.

MORE INFORMATION

The following command demonstrates this phenomenon:

   @ 2,2 to 2,110 DOUBLE

The above command should draw a horizontal line with a double border. The double border does not appear unless the default font of the current output device is FoxFont. This behavior occurs because the double line is drawn using the box-drawing character set, and FoxFont is the only screen font that includes this character set.

The paragraphs that follow are taken from the Help file information for this command:

   Caution: In FoxPro for Windows, if FoxFont is the current font
   and the PATTERN, PEN and STYLE clauses aren't included,
   rectangles are drawn with the FoxFont box drawing characters.
   This provides compatibility with earlier versions of FoxPro.

   If FoxFont isn't the current font, or if FoxFont is the current
   font and a PATTERN, PEN or STYLE clause is included, rectangles
   are drawn using Windows-style graphics. A rectangle drawn with
   the FoxFont box-drawing characters and the same rectangle drawn
   with Windows graphics are drawn at slightly different positions.


Additional reference words: FoxWin 2.50 DOUBLE HELP
KBCategory: kbprg
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.