InfoConnect for Unisys VBA Guide
SpellCheck Object Members

The following tables list the members exposed by SpellCheck.

Properties
 NameDescription
Public PropertyAutoCorrectGets or sets whether spelling mistakes are automatically corrected as you type, provided that Auto Correct suggestions for the misspelled word are available.  
Public PropertyCheckSpellingAsTypeGets or sets whether InfoConnect automatically reviews words for spelling errors as you type, adding wavy red lines under possibly misspelled words.  
Public PropertyCorrectAccidentalCapsLockGets or sets whether to correct a word that begins with a lowercase letter and is followed by all uppercase letters to a word that begins with a single uppercase letter.  
Public PropertyCorrectTwoInitialCapsGets or sets whether to correct a word that begins with two or more uppercase letters to a word that begins with a single uppercase letter.  
Public PropertyCustomDictionaryPathGets or sets the full path to a custom dictionary file to use with Spell Check.  
Public PropertyEnabledGets or sets whether Spell Check is enabled in the terminal session.  
Public PropertyIgnoreAllUppercaseGets or sets whether to exclude words that use only uppercase letters from a spelling review. True excludes these words; false doesn't exclude them.  
Public PropertyIgnoreWordsWithNumbersGets or sets whether to exclude words that contain numerals from a spelling review. True excludes these words; false doesn't exclude them.  
Public PropertyMainLanguageGets or sets the language of the dictionary to use if the underlying Spell Check engine supports multiple languages.  
Public PropertyMaxSuggestionsGets or sets the maximum number of spelling suggestions for a misspelled word.  
Public PropertyMaxWordLengthGets or sets the maximum length of words checked for spelling (between 20-200 characters). Longer words are ignored by the spell checker.  
Public PropertyMinimumMatchGets or sets the minimum length of fields reviewed for spelling errors.  
Public PropertyMisspelledWordCollectionReturns a collection of misspelled words from the current host screen.  
Public PropertyParentGets the parent object (Productivity).  
Top
Methods and Functions
 NameDescription
Public MethodAddToCustomDictionaryAdds a word to the active custom dictionary.  
Public MethodCheckCurrentFieldReviews text in the current field for misspellings.  
Public MethodCheckScreenReviews text in the current screen for misspellings.  
Public MethodCorrectMisspellingReplaces a misspelled word with a correctly spelled word at the specified location.  
Public MethodRemoveAllMisspellingsClear all misspellings from the current screen.  
Public MethodRemoveMisspellingRemoves the specified misspelled word from the misspelled word list and clears the associated misspelling attribute from the screen.  
Top
Events
 NameDescription
Public EventMisspelledWordRaised when a word is misspelled in a host session.  
Top
See Also