I am trying to use the SpellBound class on a form to spell check the contents of an edit box. I have a button with the following:
LOCAL oSpellIt
SET CLASSLIB TO spellbound ADDITIVE
oSpellIt = CREATEOBJECT('spellit')
oSpellIt.CheckSource = 'thisform.edtComments.Value'
oSpellIt.DoCheck()
RELEASE oSpellIt
When I run the form and click the button I get the following error message:
'Object is not contained in a form'
Can someone please tell me what I am doing wrong!
Thanks in advance,
Russell
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement