TNumberHighlighter.Background, Foreground properties
PlusMemo Help Send comments on this topic.
TNumberHighlighter.Background, Foreground properties

Glossary Item Box

 

Applies to

TNumberHighlighter component

 

Declaration

property Background: TColor;

property Foreground: TColor;

 

Description

These properties control the colors used for painting highlighted numbers.

 

The Background represents the background color of highlighted numbers.  A value of clNone (the default) represents a transparent background, meaning no color change relative to TPlusMemo.Color.

 

The Foreground property represents the text color of highlighted numbers.  A value of clNone (the default) represents a no color change relative to TPlusMemo.Font.Color.

 

If you change these properties at run time, call TPlusMemo.ReApplyKeywords for the change to take effect immediately.  Otherwise, only subsequent editing operations will take account of the new Background or Foreground values.