Results 1 to 5 of 5

Thread: console_box colors

  1. #1

    console_box colors

    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

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: console_box colors

    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

    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3

    Re: console_box colors

    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

  4. #4

    Re: console_box colors

    Hey Sandy, I think you asked a similar question about Console colours last year in this thread.

    If you try the program that Eros posted in that thread you'll see that it looks suspiciously like a Colour Table.
    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

  5. #5
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: console_box colors

    Hi,

    some help constants on colors were posted here.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •