Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTMLedit - retrieving text
Message
 
 
À
12/03/2002 14:18:40
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:
00632110
Vues:
22
This message has been marked as the solution to the initial question of the thread.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform