Hank wrote:[color=blue]
>
> I didn't actually want to spell check all controls. That was just
> the sample code I got off of the NG. I also made it work from the
> LostFocus event but you may find that you can never go to ay other
> control as the spell checker will run on every LostFocus and send you
> right back to the original control.[/color]
????. I don't follow you. The code I provided spell checks only 1 control.
I'm not sure why you didn't use the code I provided to spell check the
control you were on instead of continuing to use code to enumerate all
of the controls and spell check them all.. Well, if it works the way
you want, that's the important thing.
[color=blue]
>
> One curious thing is that if I programatically highlight the text
> and then manually hit F7, it works fine.
>
> Thanks
> Hank Reed
>
> *** Sent via Developersdex
http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it![/color]