Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi insertAdjacentHTML at cursor (https://www.delphipraxis.net/83927-insertadjacenthtml-cursor.html)

mr_fahrrad 8. Jan 2007 16:56


insertAdjacentHTML at cursor
 
When I add a html code with command insertAdjacentHTML the code added appear in the end of document, how I make to add code at the current position of cursor?

OBS: In edit mode...

thanks!

mkinzler 8. Jan 2007 17:37

Re: insertAdjacentHTML at cursor
 
http://msdn.microsoft.com/workshop/a...jacenthtml.asp

mr_fahrrad 11. Jan 2007 20:36

Re: insertAdjacentHTML at cursor
 
tanks

I solve using

Delphi-Quellcode:
 Webbrowser1.OleObject.Document.Selection.createRange.pasteHTML('html code here');


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:17 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz