Mmmh, the samples I run are always yellow. Can you provide a sample?
Is there any way of changing the color of the character drawing the progress bar? The following
Console_ProgressBar (1, 10, 10, 50, 192, 1, 100, PBValue)
draws a red progress bar which progresses greyish-red. I have not found any way of having it progress blue, or green (while the remainder stays red).
Rick
Mmmh, the samples I run are always yellow. Can you provide a sample?
Ok, I figured it out. I'm just not sure what the highlight part of the color functions mean.
[code=thinbasic]
Console_ProgressBar(1, 10, 10, 50, Console_BackgroundRGB(255,0,0,50)+Console_ForegroundRGB(0,00,200,50), 1, lMax(1), Count(1))
[/code]
I cannot check right now because I do not have sources with me.
I will check this night and see what the code is doing in that area.
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
Console colors are a value from zero (black on black) to 255 (white on white).
To have full console color range see example in \thinBasic\SampleScripts\Conrole\Console_OutColor.tBasic
To have red background color with blue foreground color use color number 201
To have red background color with green foreground color use color number 202
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
Thank you, Eros. 250 works nicely.
Rick
Bookmarks