Delphi .NET (2) Database (71) Delphi IDE (90) Network (39) Printing (3) Strings (12) VCL (83) Windows with Delphi (280)
Exchange Links About this site Links to us 
|
Storing color values in the registry/ INI files
This article has not been rated yet. After reading, feel free to leave comments and rate it.
The GraphicsUnit has two useful functions:
StringToColor and ColorToString.
StringToColor will receive one of the valid 37 colors (such as clWhite) or a
number (as a string) representing the color and return a TColor for it.
ColorToString will do the reverse.
Nice if you want to store colors as a name instead of a number.
Comments:
|