Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text with background
#1
Is there any way to write text with a background behind it like have like red words with a blue background?
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Reply
#2
:lol:

Code:
COLOR 12, 1
PRINT "Red text with blue background!"

But I can bet anything that you would want to do this in another screen mode. Like SCREEN 13 or something, right?
Reply
#3
it's easy, see COLOR in the editor's HELP
example

cls
color 26,1 : print "asdfghjk"
color 4,1 : print "zxcvbnn"
color 0,7 : print "1234567890"
sound 2345,5: sound 5432,5
am the last survivor of the Quickbasics world (at least at qbasicnews).
Reply
#4
Lol actually it was in any screen but about five mins after i posted this i figured it out. But is it even possible to do it in other screens?
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Reply
#5
Quote:Lol actually it was in any screen but about five mins after i posted this i figured it out. But is it even possible to do it in other screens?

You can use the colors listed in qb help (http://qbasicnews.com/qboho/qckcolor.shtml) in any of the qb screen resoutions(i.e. one's changed by using SCREEN). Although the flashing ones don't work(don't flash) outside text mode (SCREEN 0).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)