TdxCustomSpellChecker.LoadDictionaries(Boolean) Method
Loads dictionaries into the memory from dictionary files.
Declaration
procedure LoadDictionaries(AIgnoreDisabled: Boolean = True);
Parameters
Name | Type |
---|---|
AIgnoreDisabled | Boolean |
Remarks
The LoadDictionaries method loads dictionaries contained in the DictionaryItems collection. This method only loads enabled dictionaries (the dictionary’s Enabled property is True), if AIgnoreDisabled is True. Otherwise, all dictionaries are loaded.
The LoadDictionaries method is called automatically when the spell-check application starts up, if the AutoLoadDictionaries property is True.
Dictionaries are loaded in a separate thread, if the UseThreadedLoad property is True.
If dictionary files are large enough, it may affect the application performance, if they are loaded at start up. You may want consider loading dictionaries at a later time. For this purpose, disable the auto load mode, and use the LoadDictionaries method to load dictionaries manually.