Wintertree Software Inc.

Sentry Spell Checker Engine

Home Site index Contact us Catalog Shopping Cart Products Support Search

You are here: Home > Add a spell checker to your applications > Microsoft Access


Add a spell checker to your Microsoft Access applications with Sentry Spell Checker

Sentry Spell Checker provides everything you need to add a full spell check capability to your Microsoft Access applications. Click here to find out more about Sentry Spell Checker.

How to spell check a TextBox or RichTextBox

Spell check a TextBox or RichTextBox from your Microsoft Access applicationMany Access applications let their users view and update database fields via a TextBox or RichTextBox on a form. If this is how your application works, you can add a spell checker in minutes using these simple steps:

  1. Set the Hide Selection property of the TextBox or RichTextBox to False. This lets Sentry Spell Checker highlight any misspelled words found.

  2. Add a "Spell check" button or menu item to your form.
  3. In the event handler for your "Spell check" button or menu item, extract the text from the TextBox or RichTextBox Text property into a string.
  4. Pass the string to Sentry's CheckBlockDlg function.
  5. When CheckBlockDlg returns, the string will contain any corrections made by the user. Set the TextBox or RichTextBox Text property to the the string.

That's all there is to it! When the "Spell check" button or menu item is pressed, Sentry will check the spelling of words in the string. If a misspelled word is found, Sentry will pop up a dialog the user can interact with to dispose of the misspelling. The dialog will show the string's contents, and the misspelled word will be highlighted. The dialog shows suggested replacements for the misspelled word. If the user makes a correction, the string will be updated automatically.

 


Home Site index Contact us Catalog Shopping Cart Products Support Search


Copyright © 2015 Wintertree Software Inc.