Default Output Colour

Posted by Twrx on Thu 22 May 2003 01:43 PM — 2 posts, 12,325 views.

#0
How to get default colours of outputwindow ?
world.getoption ("output_text_colour") and
world.getoption ("output_background_colour") ?

How to hide StatusLine from a sub ?
World.ShowStatusBar, vbFalse would be nice :)
Australia Forum Administrator #1
The default output colour is normally ANSI white on black. You can find what these colours actually are with:


http://www.gammon.com.au/scripts/function.php?name=NormalColour


eg.


textcolour = world.NormalColour (8) ' white
backcolour = world.NormalColour (1) ' black


Do emulate what clicking on the "status bar" item in the View Menu does, you could use:


world.DoCommand "viewstatusbar"


However there are a couple of problems with that. The first is, it isn't implemented until version 3.43, the second is you won't know whether or not the status bar is already visible, so if it is invisible that command would toggle it, and thus show it.