Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

How to use spell check in form.

rated by 0 users
This post has 2 Replies | 2 Followers

Top 500 Contributor
Male
Posts 32
Points 465
Member since 08-19-2008
Madhusudan Posted: 08-26-2008 8:04

 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. 

Save Tree Save Earth
  • Filed under:
  • | Post Points: 20
Not Ranked
Male
Posts 1
Points 20
Member since 10-15-2008

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.

 

 

With kind regards, Rainier Meuken Functional application manager
Top 500 Contributor
Male
Posts 32
Points 465
Member since 08-19-2008

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.

Save Tree Save Earth
  • | Post Points: 5
Page 1 of 1 (3 items) | RSS


Copyright Dynamics User Group, 1995-2009, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.