Board index » delphi » Background and Text Color?

Background and Text Color?

Hello,

    How do I make the background color of my programs and the text a
different color? Could someone reply with the code I need to make this
happen?

Thanks!

  :)  Evan Anderson

 

Re:Background and Text Color?


Try with TextColor and TextBackground using Crt unit.

Quote
Evan Anderson <e...@pcsnow.com> wrote in message

news:8d3k1m$cgq@news.dx.net...
Quote
> Hello,

>     How do I make the background color of my programs and the text a
> different color? Could someone reply with the code I need to make this
> happen?

> Thanks!

>   :)  Evan Anderson

Re:Background and Text Color?


Evan Anderson <e...@pcsnow.com> said
Quote
>Hello,

>    How do I make the background color of my programs and the text a
>different color? Could someone reply with the code I need to make this
>happen?

See TextColor and TextBackground in the help files.
--
Pedt Scragg     http://signpost-design.co.uk/   ODP Editor: http://dmoz.org/
Signpost Web Design, Wrecsam, North Wales

Re:Background and Text Color?


Quote
On Thu, 13 Apr 2000, Evan Anderson wrote:
> Hello,

>     How do I make the background color of my programs and the text a
> different color? Could someone reply with the code I need to make this
> happen?

> Thanks!

>   :)  Evan Anderson

There is a TextBackGround(); and TextColor(); procedure to change the
colors. If you use TextBackGround before clrscr, your whole screen gets
the choosen color.

bye

Igor2

Other Threads