SRL Archive - S.M.A.R.T. Questions and Answers.

SMART color support?


Cstrike

2010-12-04 16:08:02

What colors work for the SMART debug?

I know clRed, clYellow, clWhite, clGreen, clBlue works…etc, but clBlack doesnt. Maybe it's not a TColor.

What colors can smart handle? Any lists anywhere?

TomTuff

2010-12-04 16:20:18

you can probably use the color picker to pick a color and put in that integer since it's a TVariant, if i'm not mistaken?

Shuttleu

2010-12-04 16:31:27

you should be able to use any color, if you want black, you can use 0

~shut

Cstrike

2010-12-04 16:58:54

Oh wow didn't know TColor could use the color integers, thought it had to be cl(Color).

TY guys!
Thread solved

Nava2

2010-12-04 17:59:54

Uhm, you also probably have black set as the transparent colour as it typically is. Try using 0,0,1 or something similar.

n3ss3s

2010-12-04 18:56:21

You can also fool around with RGBToColor.

BenLand100

2010-12-05 05:44:09

Well essentially it uses normal RGB hex encoded integers. (which is what the "color ints" everyone used to use and still use for many things are)

Bad Boy JH

2010-12-05 08:13:40

as I understood it, cl(colour) is bascially a constant.

Gu3st...

2010-12-05 08:16:47

Bad Boy JH is correct. cl(color) is an integer, clRed = 255, clWhite = 1667215 (or whatever white is) clBlack = 0