Closed spyrman closed 1 year ago
Hi,
GetAllPreferences must be called from the CEF thread called "UI". Use TChromium.SavePreferences instead as you can see in the MiniBrowser demo.
Set the TChromium.SpellCheckerDicts property to a comma-separated list of language codes and set TChromium.SpellChecking to true to enable the multilingual spellchecker.
Here is a sample code that i use to set the Preference but it does not seem to work also if if do a check for GetAllPreferences(True); it always returns nil any have you tested it ? also is it possible to make a sample code that uses multiple dictionaries and how to set them in my example i have en-US and el-GR the spell check works only for one language at a time when i set it on the project source before the start process like GlobalCEFApp.Locale:='el-GR'; or en-US but i cant set it to spell check for both languages any ideas ?