Article # 271, added by Geoworks, historical record
| first | previous | index | next | last |

Why is the SpellControl object disabled?



Q. When I implement SpellControl, the spell checker is always inactive
   (not enabled).

A. You need to tell your DocumentControl object to notify the SpellControl
   object when there is text available.  This is accomplished in the
   instance data GDCI_enableDisableList.  The following example
   illustrates how to setup and use GDCI_enableDisableList.

     @object GenDocumentControlClass MyDocControl = {
         GDCI_enableDisableList = EnableDisableList;
     }
     @chunk optr EnableDisableList[] = {
         @MySpellControl
     };
     @object SpellControlClass MySpellControl = {
     }