Please enable JavaScript to view this site.

thinBasic Help Manual

Navigation: ThinBASIC Modules > Console

Console Color equates

Scroll Prev Top Next More

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Equates used by Console_SetTextAttribute to build console colors:

Symbol

Synbol alias

Meaning

%Console_FOREGROUND_BLUE

%Con_FG_BLUE


%Console_FOREGROUND_GREEN

%Con_FG_GREEN


%Console_FOREGROUND_RED

%Con_FG_RED


%Console_FOREGROUND_INTENSITY

%Con_FG_INTENSITY

%Con_FG_INT





%Console_BACKGROUND_BLUE

%Con_BG_BLUE


%Console_BACKGROUND_GREEN

%Con_BG_GREEN


%Console_BACKGROUND_RED

%Con_BG_RED


%Console_BACKGROUND_INTENSITY

%Con_BG_INTENSITY

%Con_BG_INT


 

To compose a color just OR (use Or keywork or | symbol) one or more equates.

 

For example, to have a Bright Cyan Foreground color over Blue Background color, do something like the following:

 

Long cBrightCyanBGBlue = %Con_FG_BLUE | %Con_FG_GREEN | %Con_FG_INT | %Con_BG_BLUE

 

To have a Bright Red Foreground color over Black Background color, do something like the following:

 

Long cBrightRed = %Con_FG_RED | %Con_FG_INT

 

 

Other color equates that can be used by Console_SetTextAttribute to build console colors: see thinCore Console equates.

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software