Making Screen MODE Such as CO40 Remain After Program Is Run (31428)
This article was previously published under Q31428
SUMMARY
Screen attributes set with the SHELL "MODE CO40" command do not remain
changed upon exiting the environment or ending program execution
because QuickBasic stores the original screen settings before the
program executes. When execution terminates, all screen attributes are
restored to their original conditions.
By using the ANSI.SYS escape codes, screen settings such as text
colors and background colors can be changed. The following example
demonstrates how to change to screen mode 40.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB31428 |
|