PDA

View Full Version : console_box colors



sandyrepope
29-06-2008, 22:29
In the help file under console_box it says:

BColor
Number
No
Background color (see color table axample)

FColor
Number
No
Foreground color (see color table axample)



I admit that I don't understand what this color table example is. Could someone explain what it is and where do I find it?

By the way, I think axample should be example.

Thanks
Sandy

ErosOlmi
29-06-2008, 23:16
Help of console module is not our best help, I have to admit.

Anyhow, Console colors is a number from 0 to 255 in groups of 16.
In Console_Box keyword, BColor is used for frame color, while FColor is used for the inside of the Box.

To have an idea see "Console_OutColor.tBasic" under \thinBasic\SampleScripts\Console
This example shows colors and also Console_Box

Ciao
Eros

sandyrepope
30-06-2008, 00:37
Eros, I appreciate the reply but still have questions.

Did you forget to say anything about the color table?
(see color table axample)


Console colors is a number from 0 to 255 in groups of 16
I don't understand the part about groups of 16.

Thanks
Sandy

matthew
30-06-2008, 02:49
Hey Sandy, I think you asked a similar question about Console colours last year in this (http://community.thinbasic.com/index.php?topic=582.0) thread.

If you try the program that Eros posted in that thread you'll see that it looks suspiciously like a Colour Table.

Petr Schreiber
30-06-2008, 10:18
Hi,

some help constants on colors were posted here (http://community.thinbasic.com/index.php?topic=1659.msg12011#msg12011).


Petr