Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

SpellChecking

Post Reply
mddmx
Posts: 14
Joined: Fri Dec 13, 2019 2:42 pm

SpellChecking

Post 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?
User avatar
salvadordf
Posts: 4572
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SpellChecking

Post 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.
mddmx
Posts: 14
Joined: Fri Dec 13, 2019 2:42 pm

Re: SpellChecking

Post by mddmx »

As always .... thank you. This works just fine.

Chromium1.SpellChecking := Enabled;
Chromium1.UpdatePreferences;
Post Reply