phat code "I love deadlines. I love the whooshing sound they make as they fly by." - Douglas Adams
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
Dav Sat Jan 19 2008 at 11:24 pm
If you mean in text mode (SCREEN 0)...
 
 
(Screen mode 0, text mode, is the default screen when running a Qbasic program)

You can change both foreground (text) and background color by using the COLOR statement. 

Look up COLOR in the help, there are several options to using it.

To change the whole screen background color to red with white text, you can do something like.

COLOR 15 , 12
CLS

- Dav
 
 
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.