Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Frage zu MSHTML und FormatBlock (https://www.delphipraxis.net/77856-frage-zu-mshtml-und-formatblock.html)

Codehunter 25. Sep 2006 20:45


Frage zu MSHTML und FormatBlock
 
Wenn ich eine Selection mit FormatBlock und z.B. <H1> formatiert habe, wie kann ich hinterher beim setzen des Cursor an diese Stelle ermitteln welches Block-Format hier gesetzt ist? Mit queryCommandValue bekomm ich ja nur TRUE/FALSE für einen CommandIdentifier (in dem Fall "FormatBlock" selber), aber nicht den Parameter.

Also wie finde ich z.B. raus daß in der aktuellen Selection der Text als "Überschrift 1" ("<H1>") formatiert ist?


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:16 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