Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTMLedit - retrieving text
Message
 
 
À
13/03/2002 13:50:50
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00631684
Message ID:
00632604
Vues:
16
Hi!

Do not know about spelling. Try to search through dcumentation for DHTML control (help file is in the SDK), or in the help for document objects model for IE (DOM documentation). I dhave not seen this though.

I also do not know about this. I used DHTML control on WEB pages. Maybe sombody else will jump in and help. Or try to send this as a separate message. I have only suggestion for this: if VFP form is modal, ActiveX control often behave strangely on it, as well as after such form close ActiveX controls on other forms get weird behavior too.

>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!
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform