Using the ISCOLOR() Function on a Portable Computer

Last reviewed: April 17, 1995
Article ID: Q89085
The information in this article applies to:
  • Microsoft FoxBASE+ for MS-DOS, versions 2.0 and 2.1
  • Microsoft FoxPro for MS-DOS, versions 1.02 and 2.0

SUMMARY

When FoxPro or FoxBASE+ runs on a portable computer, the ISCOLOR() function usually returns the value true (.T.), regardless of the actual screen type.

MORE INFORMATION

Most portable computers have a port that can be used to connect the computer to a color monitor; therefore, they contain VGA color graphics cards although the monitor itself may be monochrome. Because the ISCOLOR() function returns a logical value based on the ability of the graphics card (not the monitor) to display color, a value of .T. will be returned on a portable computer with a VGA color graphics card.


Additional reference words: FoxDos 2.00 2.10 laptop
KBCategory: kbusage kbprg kbhw
KBSubcategory:
KBCategory:
KBSubcategory:


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: April 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.