TpmLiveSpell3.ContextNum property
PlusMemo Help Send comments on this topic.
TpmLiveSpell3.ContextNum property

Glossary Item Box

 

Applies to

TPMLiveSpell3 component

 

Declaration

property ContextNum: SmallInt;

 

Description

This property represents the context number associated with misspelled words.  It should not conflict with context numbers attributed to keywords, start-stop keys and other dynamically highlighted text in the TPlusMemo affected by the TPMLiveSpell3.

 

The default value for ContextNum is 2000.  Worth noting is that TPlusMemo will trigger OnContext events when the user clicks on a bad word.  OnContext will pass the value ContextNum to the event handler.

 

If you change this property at run time, call TPlusMemo.ReApplyKeywords for the change to take effect immediately.  Otherwise, only subsequent editing operations will take account of the new ContextNum value.