[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

StringToColorDef

Converts a color name, like "clBlue", to a TColor value with an optional default value when the color name does not exist.

Declaration

Source position: graphics.pp line 1938

function StringToColorDef(

  const S: shortstring;

  const DefaultValue: TColor

):TColor;


Version 3.2 Generated 2024-02-25 Home