Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTMLedit - retrieving text
Message
De
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:
00632283
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform