Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi htmlspecialchars (https://www.delphipraxis.net/182473-delphi-htmlspecialchars.html)

drama22 27. Okt 2014 19:08

Delphi htmlspecialchars
 
hi i wonder can i use htmlspecialchars inside delphi ? i am using some kind of embedded web to view some text from tmemo but i want to disable the html tags from being used like <b>text</b> thats showing bold text i want show the text as it is without any visual effect

Dennis07 15. Nov 2014 03:12

AW: Delphi htmlspecialchars
 
First, for simple tag formatting, I'd use the TRichEdit component. But as you wish to disable formatting, I don't know why you simply don't use the TMemo component. By the way: When using the TRichEdit component, you have a property called: PlainText. Make use of it, if you definitly need a TRichEdit (with formatting support).

drama22 15. Nov 2014 03:35

AW: Delphi htmlspecialchars
 
Zitat:

Zitat von Dennis07 (Beitrag 1279871)
First, for simple tag formatting, I'd use the TRichEdit component. But as you wish to disable formatting, I don't know why you simply don't use the TMemo component. By the way: When using the TRichEdit component, you have a property called: PlainText. Make use of it, if you definitly need a TRichEdit (with formatting support).

Dankeee denniss you are awesome , you delphi god


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

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