Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spelling checking really slow
Message
From
30/10/2004 19:25:23
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
30/10/2004 16:34:27
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00956184
Message ID:
00956208
Views:
11
>I have this code for returning each individual word that contain errors:
>
>
>* Assign the text to the document and check spelling
>loDocument.Content.Text='The long bridge faiiled in the middle. Then, Michel Fournier '+;
> 'came in and sayd, who are you? Rorlf Bingo! They were winning the billa game.'
>
>lnCount=loDocument.SpellingErrors.Count
>IF lnCount>0
>   loErrors=loDocument.SpellingErrors
>   FOR EACH loError IN loErrors
>      ? loError.Text
>   ENDFOR
>ENDIF
>
>
>But, this is extremely slow. There is about .25 second between each word that is being displayed. Is there a way to accelerate that? I thought I would get the list of words in a flash.

You could parse out the words yourself in Fox then try them with loWord.CheckSpelling():

e.g. Friday Fun - DeJumble Thread #927557 Message #927557
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform