Spellchecker CLASS (based on WORD)
Posted: Wed Dec 23, 2020 8:18 pm
hi,
i saw Sample Spellchecker from Pablo César, GREAT
https://www.hmgforum.com/viewtopic.php?f=15&t=5231
i try to use it in my App but it does not work as "Addon"
it is made for "this" Form and "this" Control of the Sample
so i re-write a my Xbase++ CLASS which use a PopUp over Control ( EDITBOX )
when you look into Source you will see that all is done in CLASS
i just need a Field-wide STATIC for Object to RELEASE it and pass cForm and cControl to CLASS Question : how to use CONTEXT MENU OF Control_not_Form
type some "wrong" word into EDITBOX. right-click on Form (!) to get PopUp Menu -> SpellChecker ---
i use "default" Language fo SpellChecker. you can change it this Way
::oWord:Languages(wdEnglishUS):NameLocal // Set English Dictionary Language
i include WORD.CH which have those "wd" Constant
have a nice Xmas
i saw Sample Spellchecker from Pablo César, GREAT

https://www.hmgforum.com/viewtopic.php?f=15&t=5231
i try to use it in my App but it does not work as "Addon"

it is made for "this" Form and "this" Control of the Sample
so i re-write a my Xbase++ CLASS which use a PopUp over Control ( EDITBOX )
when you look into Source you will see that all is done in CLASS
i just need a Field-wide STATIC for Object to RELEASE it and pass cForm and cControl to CLASS Question : how to use CONTEXT MENU OF Control_not_Form

type some "wrong" word into EDITBOX. right-click on Form (!) to get PopUp Menu -> SpellChecker ---
i use "default" Language fo SpellChecker. you can change it this Way
::oWord:Languages(wdEnglishUS):NameLocal // Set English Dictionary Language
i include WORD.CH which have those "wd" Constant
have a nice Xmas