Spellex SDK for ActiveX - Technical Support

Problem: I'm calling Spellex ActiveX's Start method, but I have ShowDialog set to False. When Spellex ActiveX encounters a word containing a combination of letters and numbers, such as "100th," it appears to loop.

Discussion: Most likely, you have the CatchWordsWithDigits property enabled (set to True). Also most likely, you either are not catching the WordWithDigits event. When Spellex ActiveX encounters a word containing a mixture of digits and letters, such as "100th," it fires the WordWithDigits event because CatchWordWithDigits is enabled. Because your application does not catch the event, it does not tell Spellex ActiveX to skip over the word. When your application next calls the Start method, Spellex ActiveX fires the WordWithDigits event again because "1013th" is still the current word. This will continue indefinitely, causing an apparent loop.

Note that a similar problem can be caused by enabling CatchMixedCaseWords but not catching the MixedCaseWord event.

Solution: The easiest solution is to disable CatchWordsWithDigits (or CatchMixedCaseWords). These properties need to be enabled only if your application specifically needs to know if a word contains embedded digits (or mixed letter case). Disabling them in no way restricts Spellex ActiveX's ability to catch spelling errors.

 

Home | Order Now | Products | Upgrades | Free Trial | Partners | About Spellex | Contact Us | Site Map | Privacy Policy

Spellex Corporation © 2008. All rights reserved