Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fun with Word
Message
From
27/10/1999 14:49:28
 
 
To
27/10/1999 12:48:12
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00282257
Message ID:
00282479
Views:
24
Thanks Doug!

The reason that oWord.Visible is right after CheckSpelling and not after WindowState is that oWord won't be visible by default, but the Spell Checker apparently sets Visible true. I was trying (with limited success) to, at the beginning of the code, default the Word state to minimized and, therefore, during that brief time it becomes visible, it's minimized and not a pain in the user interface.


>Hi John.
>
>>A question about the spellchecker in Word got me playing around with ways to spell check memo fields within VFP.
>
>Great post! One suggestion: add oWord.Visible = .F. after oWord.WindowState = 2; that way, Word doesn't appear in the Taskbar (except for the brief flash after the spelling dialog is closed, which you handle), and the user isn't tempted to click on it, which does baaad things <g>.
>
>Doug
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform