**** see link for my final custom solution****
http://bb4w.conforums.com/index.cgi?board=graphics&action=display&num=1458438004
********************************************
This is for information purposes only. I had to figure out a bit more about the differences between complete background and foreground controls and this wasn't the total solution I wanted.
The original program shows the problem, and with the examples I couldn't figure how the custom R,G,B settings would be shared with the background..
The Problem
Code:
REM SET MODE TO 8 USING VDU (
VDU 22,8
REM SET LINE THICKNESS TO 3
VDU 23,23,3|
REM OFF
GCOL 1
COLOUR 1,175,165,150
FILL 100,100
COLOUR 157
INPUT TAB(0,5) "Enter Your Information " A$
PRINTTAB(0,6);A$
(mou)
WAIT 0 : REM just wait, nothing to do !
GOTO (mou)
And here is the solution: Thanks to Richard
Code:COLOUR 1,175,165,150 : Set palette color 1 to RGB triplet
COLOUR 128+1 : REM Set text background to palette color 1
CLS
INPUT TAB(0,5) "Enter Your Information: " A$
PRINTTAB(0,6);A$
And his other sample given
Code:
MODE 8
COLOUR 1,175,165,150 : Set palette color 1 to RGB triplet
GCOL 0 : REM Set graphics foreground to palette color 0
GCOL 128+1 : REM Set graphics background to palette color 1
VDU 5 : REM Treat text as graphics (transparent background)
CLG
MOVE 0,800
PRINT "Hello world!"