Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

StringToColor

StringToColor - given a color name like 'clBlue', returns the corresponding color value.

Declaration

Source position: graphics.pp line 1966

function StringToColor(

  const S: shortstring

):TColor;

Arguments

S

  

S - the name of the required color, expressed as a string.

Function result

Returns the color corresponding to the name in String S.



CT Web help

CodeTyphon Studio