Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spell Check
Message
 
 
To
17/10/2000 17:06:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00430092
Message ID:
00430608
Views:
13
>I do have Word97 on every machine. I just do not know how to make use of the class. The only forms I have ever designed have been with the form generator that came with VFP6.0.
>
>I figured out how to get the class on the tool bar and how to select the object onto the form, but from there, I'm clueless.
>
>Any sugestions?

Hi William,

Have you read the documentation?
Properties
CheckSource
The source of the text that will be checked.
Ex: oSpellIt.CheckSource=”mytable.memofield”
oSpellIt.CheckSource=”ThisForm.eboDescription.Value”

SaveChanges
(Default = .T.) Specifies whether changes made within the Word spell checker are sent back to the CheckSource source.
Databound
(Default = .T.). If set True (.T.), SpellIt uses the REPLACE command to write back changes and assumes that the CheckSource source is a table field. If set False (.F.), SpellIt assumes that it’s a Value property or variable and changes it using Old = New syntax.
Method
DoCheck(oWordObjectName)
Performs the spell check. You may pass an optional object reference if a Word object already exists in your application. This may speed the operation. If no parameter is passed, SpellIt opens and manages it’s own instance of Word.


IOW, you should: drop this class on your form. Set properties in Property sheet (or in your code). Add a button to your form with caption SpellCheck.
In the click event of this button put:
thisform.SpellIt1.DoCheck()

This should work. Though I haven't used this class yet.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform