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.

Newcomers DBPro Corner / coloring a box

Author
Message
sadsack
20
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 4th Jan 2004 05:08
Hello,
I have Dark Basic Pro, and I want to color a box black. My background is blue and the text is white. I want to make my box
that is not the backgroung or foreground. It will not let me do it.
Thank You
R.D.H.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 4th Jan 2004 05:26
more in use with the alpha channel
ink rgb(0,0,0),1
box 0,0,32,32


looks black but wont be affected by transparency
ink rgb(20,20,20),1
box 0,0,32,32
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Jan 2004 14:28
You can also specify colours using the box command itself. You specify an extra 4 colours after the coordinates to colour each corner



For free Plug-ins, source and the DBPro Interface library for Visual C++ 6 and .NET
http://www.matrix1.demon.co.uk
sadsack
20
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 4th Jan 2004 22:26
thank you RDH

Login to post a reply

Server time is: 2024-09-21 15:45:39
Your offset time is: 2024-09-21 15:45:39