Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / change font color

Author
Message
sicjoshsic
22
Years of Service
User Offline
Joined: 8th May 2003
Location: United Kingdom
Posted: 22nd May 2003 21:42
how do you do this? maybe im just lazy, but i can't find anyway of doing it
freak
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 22nd May 2003 21:46
INK foreground color,background color

for example

INK rgb(255,0,0),rgb(0,0,0)

this would render red text on a black background (to see the background color change you have to put a CLS command after the ink command)

[href]www.bernardfrancois.com[/href]
sicjoshsic
22
Years of Service
User Offline
Joined: 8th May 2003
Location: United Kingdom
Posted: 23rd May 2003 01:47
oh, ithought that was just for drawing to screen
thanks for that, will be very useful!

freak
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 23rd May 2003 02:00
ow now I'm not that sure anymore... maybe that was just only when you use the PRINT command... it could be possible that it doesn't work for the TEXT command and that you have to use the SET FONT COLOR command (if that exists lol)

[href]www.bernardfrancois.com[/href]
Ag3ntSm1th
22
Years of Service
User Offline
Joined: 13th May 2003
Location:
Posted: 23rd May 2003 02:03 Edited at: 23rd May 2003 02:03
no, you're right.
ink textcolor, backgroundcolor

"The secret to creativity is knowing how to hide your sources." - Einstein

Login to post a reply

Server time is: 2025-05-18 18:03:04
Your offset time is: 2025-05-18 18:03:04