Skip to main content

TdxSpellCheckerCustomCheckAsYouTypeOptions.PopupMenuItems Property

Specifies menu items for the context menu.

Declaration

property PopupMenuItems: TdxSpellCheckerPopupMenuItems read; write; default DefaultPopupMenuItems;

Property Value

Type
TdxSpellCheckerPopupMenuItems

Remarks

Values include:

Value

Meaning

scmiAddToDictionary

Adds a word to the user-defined dictionary.

scmiAutoCorrect

Provides access to the AutoCorrect checking mode’s options.

scmiDelete

Deletes a word from the text.

scmiIgnore

Ignores all entries of the misspelled word in the currently checked control.

The spell checker maintains a list of words ignored by an end-user using this menu item or the Ignore button in the Spelling dialog, for each control being checked. Once a word is added to the list, it is no longer highlighted as misspelled in the control’s text. You can manually clear the list for a specific control by calling the spell checker’s ClearIgnoreOnceList method and passing the control as a parameter.

scmiIgnoreAll

Unlike scmiIgnore, scmiIgnoreAll ignores all entries of the misspelled word in all controls to be checked by the spell checker.

In addition to the word lists associated with the scmiIgnore menu item, the spell checker maintains a list of words ignored by an end-user using the scmiIgnoreAll menu item or the “Ignore All” button in the Spelling dialog. The list is shared between all controls to be checked by the spell checker’s instance. A word added to the list never gets highlighted as misspelled by this instance.

scmiSpelling

Invokes the Spelling dialog.

scmiSuggestions

Provides suggested words.

The default value of the PopupMenuItems property is [scmiAddToDictionary, scmiAutoCorrect, scmiDelete, scmiIgnoreAll, scmiSpelling, scmiSuggestions, scmiIgnore].

See Also