[Pas2js] TTextInputWidget_with_spellcheck how to detect misspelled word
Michael Van Canneyt
michael at freepascal.org
Sat Sep 19 13:57:16 CEST 2020
On Sat, 19 Sep 2020, Mgr. Janusz Chmiel wrote:
> Is it possible to check misspelled word from Pascal source when
> TTextInputWidget_with_spellcheck is being used?
> I would like to warn user if he will type misspelled word. Sure, Browser
> contain build in routine for underline word in red colour. But I want to do
> my own warning. Is it possible please? Or there is no object for that.
As far as I know, there exists no API for this. The spellcheck attribute is
just a hint for the browser. It is not an obligation to check it.
Michael.
More information about the Pas2js
mailing list