KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q44490: Current Statement Color Defaults to Green on Blue with /NOHI

Article: Q44490
Product(s): See article
Version(s): 4.50
Operating System(s): MS-DOS
Keyword(s): ENDUSER | SR# S890504-69 | mspl13_basic
Last Modified: 20-DEC-1989

When you invoke the QB.EXE environment of QuickBASIC Version 4.50 or
the QBX.EXE environment of Microsoft BASIC PDS Version 7.00 with the
/NOHI switch on a color monitor, the color of the Current Statement
always starts out as Green on Blue, regardless of color changes in the
previous QB or QBX session. This is a design limitation for the /NOHI
option.

You can change the color of the Current Statement by choosing Display
from the Options pull-down menu.

To reproduce this behavior, do the following:

1. Bring up the environment (QB.EXE or QBX.EXE).

2. Choose Display from the Options menu.

3. Change the color of the Current Statement.

4. Exit the environment (by pressing ALT+F+X).

5. Restart the environment with the /NOHI option.

/NOHI makes the color for the Current Statement always start out as
Green on Blue (the default), regardless of the colors chosen in the
previous QB or QBX session. This behavior occurs only with the Current
Statement color setting. Changes to the Normal Text and Breakpoint
Line colors are retained between sessions. The QB.INI or QBX.INI file
remembers the color options.

The /NOHI switch is only available in the QB.EXE environment of
QuickBASIC 4.50 and the QBX.EXE environment of Microsoft BASIC PDS
7.00.

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.

Copyright Microsoft Corporation 1986-2002.