Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DHTMLedit - retrieving text
Message
From
13/03/2002 13:50:50
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00631684
Message ID:
00632283
Views:
18
Thanks! This was just what I needed. There's one more thing I want to do - spell check. Is there any way to spell check the contents of the DHTMLedit control?

Also, the control often behaves strangely with the cursor jumping all over. And once my cursor is in the control, I can't type into any other fields on the form. Any ideas?


>Hi!
>
>oDHTMLEdit.DOM.body.innerText
>
>Remember that oDHTMLEdit.DOM is just a usual "document" object that you usually use in Java Script code on HTML pages. Starting from it you can access the entire objects model of all elements of the edited page, and even edit these elements on the fly that adds a lot more capabilities for editing than ExecCommand method of DHTML ActiveX gives. In the DHTML ActiveX, objects model is from IE. You can get help on all properties and objects in MSDN. For example, look for "BODY Element" in MSDN index and see help for all properties and methods of the body eement of the HTML content.
>
>HTH.
>
>>I'm using the DHTMLedit object and one thing I can't figure out is how to get the text value of it, i.e. without the HTML tags. Any help would be appreciated. Thanks!
Elyse Pomerantz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform