h,
Can any body tell me how to use spell check in a class.I mean i know there is a class caleed sysSpellChecker but has any body used it.
Madhusudan: h,Can any body tell me how to use spell check in a class.I mean i know there is a class caleed sysSpellChecker but has any body used it.
We used it just for testing in MSD AX 4.0. There are a lot request for a spellchecker at our company . But still I don't have a perfect solution for it.The sysSpellChecker spells word by word, this is no option for our reports.
Hope that anyone else has an idea for a nice working spellchecker.
hi Rainier,i got through the problem. I am posting the job that helped in using the class.
static void SPELLCHK(Args _args){ SysSpellChecker SysSpellChecker; List list; ListEnumerator listE; int i; ; list =new LIST(Types::String); SysSpellChecker = SysSpellChecker::newLanguageId('en-us'); if(SysSpellChecker.checkSpelling("tme")) { box::info("true"); } else { box::info("false"); } list = SysSpellChecker.getSpellingSuggestions("tme"); listE = list.getEnumerator(); WHILE(listE.moveNext()) { info(listE.current()); }}
hope others find it useful.