RAD Studio VCL Reference
|
Translates the name of a color constant to the corresponding TColor value.
function IdentToColor(const Ident: string; var Color: Longint): Boolean;
Boolean IdentToColor(const AnsiString Ident, Longint Color);
Call IdentToColor to reverse the translation performed by ColorToIdent. This method is useful for converting the strings generated by GetColorValues into useable TColor values. IdentToColor returns true if the Ident parameter is successfully converted into a color that is returned by the Color parameter. IdentToColor returns false if the Ident parameter is not the name of one of the TColor constants.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|