I’m looking for the equivalent to the Graphics.StringToColor function to convert
a string to an TAlphaColor (Color type used by Firemonkey). I searched in the online Rad Studio help as well as in the related firemokey units without luck :(. I can write easily a function to convert these values but I prefear use a RTL function. Anybody knows if exist any function to convert a String to a TAlphaColor in delphi-xe2?
I’m looking for the equivalent to the Graphics.StringToColor function to convert a string to
Share
Yes exist such function and is called
StringToAlphaColorand is declarated in theSystem.UIConstsunit.