Hi!
You can organize it in 2 ways:
1. For a single label - it is not possible. You will have to create as many labels as you have different characters with different colors. Then combine them into a single line of text by using TXTWidth()/FontMetrics() function to determine letter width.
2. Do not bother with VFP labels at all - create RTF control, format it properly, so it looks like a label (you will never get a transparency though). Then you can colour each character insite of RTF control text. Make it read-only and not enabled, so users will see it just as a label.
You can probably use a few other ActiveX for this purpose, for example, WEB Browser (in HTML format).
>I was looking for an idea how to create a class or method to parse a label's chars and have each one a different color, if at all possible.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.