Page 1 of 1

SpellChecking

Posted: Mon Feb 03, 2020 3:53 pm
by mddmx
I am providing a user toggle to turn designmode on/off (which works just fine)

I would also like to temporarily turn off spell checking as I think it should also toggle with designmode on/off.
I tried Chromium1.SpellChecking := Enabled .... it does not seem to do anything. Any tips?

Re: SpellChecking

Posted: Tue Feb 04, 2020 9:45 am
by salvadordf
Hi,

The value of the TChromium.SpellChecking property is only used when TChromium updates the browser preferences.

This happens every time the user loads a new URL or when the application calls TChromium.UpdatePreferences.

Re: SpellChecking

Posted: Tue Feb 04, 2020 2:17 pm
by mddmx
As always .... thank you. This works just fine.

Chromium1.SpellChecking := Enabled;
Chromium1.UpdatePreferences;