Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Posts
    19

    Unanswered: mandatory spell check?

    I am running a spell check on a particular text box by using
    textbox.setfocus
    runcommand(accmdspelling)
    I have the custom dictionary set to read-only.
    All of this so far works. Here's the problem :
    I want to make a successful spellcheck a requirement to move to the next field. I know how to set warnings on and off, but how do I capture the warning result (ie "spell check completed successfully" required in order to set focus to the next field)???

  2. #2
    Join Date
    Sep 2003
    Posts
    19

    Re: mandatory spell check?

    Since nobody answered this and Microsoft says its impossible - here's the answer: Capture the time before launching spellcheck. After the spell check, run datediff("s", capturedtime, now). If the spell check was successful (ie the box didn't pop up) that value will be 0.

    Originally posted by TheOriginalYoda
    I am running a spell check on a particular text box by using
    textbox.setfocus
    runcommand(accmdspelling)
    I have the custom dictionary set to read-only.
    All of this so far works. Here's the problem :
    I want to make a successful spellcheck a requirement to move to the next field. I know how to set warnings on and off, but how do I capture the warning result (ie "spell check completed successfully" required in order to set focus to the next field)???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •