Color Constants in TRichView

<< Click to display table of contents >>

Color Constants in TRichView

Unit [VCL/FMX]: RVTypes / fmxRVTypes;

These constants define colors.

Syntax (VCL and LCL)

const
  rvclNone          = clNone;
  rvclWhite         = clWhite;
  rvclBlack         = clBlack;
  rvclRed           = clRed;
  rvclGreen         = clGreen;
  rvclLime          = clLime;
  rvclBlue          = clBlue;
  rvclSilver        = clSilver;
  rvclGray          = clGray;
  rvclAqua          = clAqua;
  rvclFuchsia       = clFuchsia;
  rvclYellow        = clYellow;
  rvclNavy          = clNavy;
  rvclTeal          = clTeal;
  rvclPurple        = clPurple;
  rvclMaroon        = clMaroon;
  rvclOlive         = clOlive;
  rvclInfoBk        = clInfoBk;
  rvclInfoText      = clInfoText;
  rvclWindow        = clWindow;
  rvclWindowText    = clWindowText;
  rvclHighlight     = clHighlight;
  rvclHighlightText = clHighlightText;
  rvclScrollbar     = clScrollbar;
  rvclActiveBorder  = clBtnShadow;
  rvclActiveCaption = clActiveCaption;
  rvclAppWorkSpace  = clAppWorkSpace;
  rvclBackground    = clBackground;
  rvclBtnText       = clBtnText;
  rvclCaptionText   = clCaptionText;
  rvclGrayText      = clGrayText;
  rvclInactiveBorder = clInactiveBorder;
  rvclInactiveCaption = clInactiveCaption;
  rvclInactiveCaptionText = clInactiveCaptionText;
  rvclGradientActiveCaption = clGradientActiveCaption;
  rvclHotLight      = clHotLight;
  rvclMenu          = clMenu;
  rvclMenuText      = clMenuText;
  rvcl3DDkShadow    = cl3DDkShadow;
  rvclBtnFace       = clBtnFace;
  rvcl3DLight       = cl3DLight;
  rvclBtnHighlight  = clBtnHighlight;
  rvclBtnShadow     = clBtnShadow;
  rvclWindowFrame   = clWindowFrame;

Syntax (FireMonkey)

const
  rvclNone          = TAlphaColorRec.Null;

  rvclWhite         = TAlphaColorRec.White;

  rvclBlack         = TAlphaColorRec.Black;

  rvclRed           = TAlphaColorRec.Red;

  rvclGreen         = TAlphaColorRec.Green;

  rvclLime          = TAlphaColorRec.Lime;

  rvclBlue          = TAlphaColorRec.Blue;

  rvclSilver        = TAlphaColorRec.Silver;

  rvclGray          = TAlphaColorRec.Gray;

  rvclAqua          = TAlphaColorRec.Aqua;

  rvclFuchsia       = TAlphaColorRec.Fuchsia;

  rvclYellow        = TAlphaColorRec.Yellow;

  rvclNavy          = TAlphaColorRec.Navy;

  rvclTeal          = TAlphaColorRec.Teal;

  rvclPurple        = TAlphaColorRec.Purple;

  rvclMaroon        = TAlphaColorRec.Maroon;

  rvclOlive         = TAlphaColorRec.Olive;

  rvclWindow        = rvclWhite;

  rvclWindowText    = rvclBlack;

  rvclInfoBk        = TAlphaColorRec.Lightyellow;

  rvclInfoText      = rvclWindowText;

  rvclHighlight     = $FF0078FF;

  rvclHighlightText = rvclWhite;

  rvclScrollbar     = TAlphaColorRec.Lightgray;

  rvclActiveBorder  = TAlphaColorRec.Lightgray;

  rvclActiveCaption = TAlphaColorRec.SkyBlue;

  rvclAppWorkSpace  = TAlphaColorRec.Darkgray;

  rvclBackground    = TAlphaColorRec.Black;

  rvclBtnText       = rvclWindowText;

  rvclCaptionText   = rvclWindowText;

  rvclGrayText      = TAlphaColorRec.Dimgray;

  rvclInactiveBorder = TAlphaColorRec.White;

  rvclInactiveCaption = TAlphaColorRec.Lightsteelblue;

  rvclInactiveCaptionText = rvclWindowText;

  rvclGradientActiveCaption = TAlphaColorRec.LightBlue;

  rvclGradientInactiveCaption = TAlphaColorRec.PowderBlue;

  rvclHotLight      = TAlphaColorRec.DodgerBlue;

  rvclMenu          = TAlphaColorRec.Gainsboro;

  rvclMenuBar       = rvclMenu;

  rvclMenuText      = rvclWindowText;

  rvclMenuHighlight = rvclHighlight;

  rvcl3DDkShadow    = TAlphaColorRec.Dimgray;

  rvclBtnFace       = TAlphaColorRec.Lightgray;

  rvcl3DLight       = TAlphaColorRec.Gainsboro;

  rvclBtnHighlight  = TAlphaColorRec.Whitesmoke;

  rvclBtnShadow     = TAlphaColorRec.Darkgray;

  rvclWindowFrame   = TAlphaColorRec.Dimgray;

See also:

TRVColor type