von dp am 18.Februar 97 um 12:36:52:
zu: Perlen aus dem Strom der Nachrichten im direct_L von Daniel am 22.Dezember 96 um 02:00:59:
Just to summarize a very often asked question :
text color of field members (either foreColor and backColor) are only
indexed on the palette if the computer is running at 8 bits color depth.
8 bits : the color of textmember = index in the palette
16 bits : the color of textmember = 1024*R + 32*G + B (5 bits per comp)
24 bits : the color of textmember = 65536*R + 256*G + B (8 bits per comp)
A text could take millions of colors in 24 bits by specifying its RGB values !
A simple way to get the color of a palette index is to have a dummy text
member that have 256 characters and to set the forecolor of char N to N at
8 bits. Then you can get its RGB values or its its composite colorNum at
24bits.
D. Plänitz