phat code A man will believe anything that does not cost him anything.
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.