AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Delphi htmlspecialchars

Ein Thema von drama22 · begonnen am 27. Okt 2014 · letzter Beitrag vom 15. Nov 2014
Antwort Antwort
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#1

Delphi htmlspecialchars

  Alt 27. Okt 2014, 19:08
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
  Mit Zitat antworten Zitat
Dennis07

Registriert seit: 19. Sep 2011
Ort: Deutschland
482 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: Delphi htmlspecialchars

  Alt 15. Nov 2014, 03:12
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).
Dennis
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#3

AW: Delphi htmlspecialchars

  Alt 15. Nov 2014, 03:35
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
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:30 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