Skip to main content

TdxCustomSpellChecker.UseThreadedLoad Property

Specifies whether dictionaries are to be loaded in a separate thread.

Declaration

property UseThreadedLoad: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

If the UseThreadedLoad property is True, dictionaries are loaded in the background (see the LoadDictionaries method). Otherwise, they are loaded in the main application’s thread.

Since large dictionary files take time to load, you may want to inform an end-user that the operation is complete (e.g. switch the cursor back from the hourglass, or enable a button that is used to start spell-checking). For this purpose, use the OnEnabledDictionariesLoaded event that allows you to determine the finish time of the threaded load.

The default value of the UseThreadedLoad property is False.

See Also