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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only