Autor Beitrag
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Sa 05.04.03 21:20 
Hallo,
wie kann ich folgenden Text in Delphi ausgeben:
ausblenden Quelltext
1:
Str:='Hallo <font size=12 color=clRed> Test Test </font>					

ich wollte dies gene irgenwie über canvas ausgeben lassen, aber wie ??

_________________
MFG
Michael Springwald, "kann kein englisch...."
Alibi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Sa 05.04.03 21:32 
F1 hätte dir weitergeholfen, Canvas.TextOut.
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Sa 05.04.03 21:35 
Canvas.Textout parst HTML-Code?
Seit wann denn das? :shock:
Also IMAO macht der das nich...
Wenn du also unbedingt den Canvas nehmen willst, musst du selber parsen:
Schauen wo die HTML-Tags sind, Properties auslesen, Farben, Schriftart etc ändern, dann auf den Canvas zeichnen (hier kann man wieder TextOut nehmen ;-) ).

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Alibi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Sa 05.04.03 21:38 
Achso, dachte einfach nur IRGENDEINEN Text auf den Canvas ausgeben. :)
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Sa 05.04.03 21:50 
@Tommie-Lie
könntes du mir ein Beispiel machen wie man sowas in Delphi machen könnte, weil genau so wollte ich es machen.
Canvers deshalb, weil ich diese Funktion in meinen Spielen verwenden wollte...

_________________
MFG
Michael Springwald, "kann kein englisch...."
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 07.04.03 19:02 
bei www.tmssoftware.com gibts kompos, die dir HTML formatierten Text in Buutons Labels usw... anzeigen können.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mo 07.04.03 19:45 
ich werde sie mir mal downlaoden... ich hoffe man kommt an den Qullcode ran;)

_________________
MFG
Michael Springwald, "kann kein englisch...."
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mo 07.04.03 19:46 
irgenwie finde ich mich auf der seite nicht zurecht;)
könntes du mir bitte einen direckten link geben ?

_________________
MFG
Michael Springwald, "kann kein englisch...."
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mo 07.04.03 19:48 
WOW!!!
ganze 1 Minuten gesucht, das nenne ich Ehrgeiz und Wille die Lösung zu finden...
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mo 07.04.03 19:57 
leider ist die HP auch auf englisch und das kann ich (leider) nicht so gut... aber ich habe da nirgenswo sowas wie download gefunden :(

_________________
MFG
Michael Springwald, "kann kein englisch...."
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mo 07.04.03 20:04 
Na dann will ich mal net so sein ;) :D
klick mal ganz rechts in den Bereich...
dann drücke Strg+F dann gib html ein...
da findeste dann schon zeimlich viele Kompos... ;);)
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mo 07.04.03 20:07 
finde tue ich viel! aber ich finde nichts wo ich es downloaden kann :(

_________________
MFG
Michael Springwald, "kann kein englisch...."
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Mo 07.04.03 20:08 
Hi,

öh.. einfach links in der liste die Komponente die du haben willst auswählen, anklicken und Download drücken..

Au'revoir,
Aya

_________________
Aya
I aim for my endless dreams and I know they will come true!