Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple HTML editor using webBrowser control
Message
 
To
21/03/2018 04:38:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01658825
Message ID:
01658912
Views:
77
>>>Used TextControl (https://www.textcontrol.com) for other purposes, but it also does html editing. It may be a bit too heavy, because it does a lot of things, it's practically a whole text editor/converter. You may need to draw your own buttons and hook into its own methods.
>>>
>>>Or alternately you could use any of the free javascript to have an editor in a webpage and show that in a browser object. Most of today's forums use something of the kind.
>>
>>Thank you, Dragan!
>>TextControl ActiveX was my first option. However, I also need spellchecking which I could not make work with their TXSpell product (unfortunately, the collection of misspelled words found by TXSpell is passed to TextControl through a parameter array of long... and that is supposed to happen within a VFP event method. Long story short, I could not make it work in VFP). A javascript editor may be a better option at this point...
>
>I seem to remember that I managed to run spelling using one of these controls, but it could have been TextDynamic (another german outfit, worked fine in 2006). I actually wanted to use it again but they changed something meanwhile and I couldn't get their examples to work with fox at all. But I remember I had the spelling done there.
>
>Well at some time in the future, one of the projects on my list is to revamp the TxCtl as an editor for use inside app (if you look at the rest of the threads today, I'm basically trying to get rid of Word, after 15+ years of bad memories)(no, make that 24, when I was using fox to build a rtf document to be used as raw material to build a .hlp file... ah the nightnmare).

Just downloaded the TextDynamic ActiveX ver 7.322 (with a copyright as of 2016). Created an instance on a VFP form, ran it with no issues. Spellchecking seems to work, as well. Maybe you'd want to give it another look.
For now, I'll try the web browser control options.
As for TX TextControl, I don't understand why they had to make the spellchecking integration so convoluted. Anyway, I could not make it work with VFP, so I think I'm done with it.
Thanks for the TextDynamic suggestion. I'll keep it as an alternative...
*
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform