TOOPHighlighter.Properties property
PlusMemo Help Send comments on this topic.
TOOPHighlighter.Properties property

Glossary Item Box

 

Applies to

TOOPHighlighter component

 

Declaration

property Properties: THighlightInfo;

 

Description

This property determines the appearance of property declarations, which is the content between the keyword "property" and a terminating semicolon. 

The default characteristics are plain style, transparent background and default text color.

 

Property declarations are defined as a highlighted section because the keywords "read" and "write" are highlighted only there.  These keywords are highlighted according to attributes of KeywordsOOP property.  The same is true of the keyword "property".  Only the content between this keyword and the terminating semicolon is highlighted according to attributes of Properties.

 

You can change properties of Properties at design time or at run time.  If you make assignments to them at run time, call TPlusMemo.ReApplyKeywords for the change to take effect immediately for existing text.  Otherwise, only subsequent editing operations will take account of the new highlighting attributes.