Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Orthografic corrector
Message
From
20/01/2010 07:54:29
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01444897
Message ID:
01444913
Views:
50
Hi Moises,

>Thanks
>
>I need help to use the function
>
>The edit box I use is in my form as:
>
>form1.msg
>
>Can I put the function into an event of form1.msg ?
>
>Which variable in the function will be form1.msg.value ?
>
>
>Moises

in case of automatical checking, you should use INTERACTIVECHANGE for setting a 'ThisBoxesValueWasChanged' Value to TRUE.
Then after VALID or LOSTFOCUS you can call the SPELLCHECK() function (which can be part of your form, of the _screen-Object or anything else you can adress) like this:


As part of your form:
Thisform.SpellCheck(Thisform.msg.Value)
Additionally in that case your form should have the LOADWORD() method implemented, too.

Another option could be, to simply put the to functions into a prg i.e. mySpellcheckProg.prg
and in your project there should be some code like this:

As part of a PRG:
SET PROCEDURE TO mySpellcheckProg ADDITIVE
Within your form all you have to do then after VALID or LOSTFOCUS would be:
SPELLCHECK(Thisform.msg.Value)
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform