Spellchecker CLASS (based on WORD)

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Spellchecker CLASS (based on WORD)

Post by AUGE_OHR »

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
SPELLCHK.ZIP
(27.94 KiB) Downloaded 91 times
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
Spell_CLASS.JPG
Spell_CLASS.JPG (35.83 KiB) Viewed 837 times
---

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
have fun
Jimmy
User avatar
serge_girard
Posts: 3308
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Spellchecker CLASS (based on WORD)

Post by serge_girard »

Thanks !
And a nice Xmas for you to !

Serge
There's nothing you can do that can't be done...
Post Reply