Announcement

Collapse
No announcement yet.

Background Grey?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Don Schullian
    replied
    Hi Robert,

    The background and the border can be set to any color you wish but if it is going to be > 7 then you've got to work at it.

    I've got the routines around here somewhere but I've not seen them for many a' year now so I'd suggest that you step over to my web site and the d/load Nutz'N'Boltz library.
    www.DASoftVSS.com



    ------------------
    C'ya
    d83

    Leave a comment:


  • Jonathan Simpson
    replied
    Well, in my experience, you can change this, and it will work in both the full screen dos mode, and windowed dos boxes. After all, VB/DOS uses this method, and it works in both.

    ------------------
    Jonathan Simpson

    Leave a comment:


  • Tom Hanlin
    replied
    PB/DOS manual, COLOR statement:
    Background is an integer expression from 0 to 7 specifying background color.
    It's possible to get the equivalent of background colors 8-15 by changing
    the meaning of the "blink" attribute to allow a greater background color
    range. I'm not sure how well this works in a DOS box, though, if at all.
    I'd guess it might work in full-screen mode but, perhaps, not in windowed
    mode. You ought to be able to find example code in the PB/DOS Downloads:
    http://www.powerbasic.com/files/pub/pbdos/


    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Robert E. Carneal
    started a topic Background Grey?

    Background Grey?

    I thought I could make the background in Dos PowerBasic grey??

    Shouldn't COLOR 0,8 give me black text on a grey background?
    If the answer is yes, then my next questions I switched over
    to using flat screen monitors. Will that prevent the grey
    backgound? If the answer is no, what can I do to correct it?

    I thought about posting the code- but I am not sure what code
    the admin does not mind being posted.

    Thanks very much.

    Robert

    ------------------
Working...
X