Autor Beitrag
ggehrma
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 111

WinXP
D2005 Pers.
BeitragVerfasst: Di 06.09.05 09:48 
Hallo,

Gibt es eine Komponente, die ähnlich wie ein TLabel ist, aber eine mehrzeilige caption zulässt? TLabel hat da ja nur die wordwrap-Eigenschaft. Ich meine aber richtig mit Absatz und so.

mfg, ggehrma.

_________________
"...To boldly go where no one has gone before."
DT
Hält's aus hier
Beiträge: 3

Win 2000
D7 Prof
BeitragVerfasst: Di 06.09.05 10:00 
Du kannst doch dazu ein tMemo verwenden. Da hast Du ein beliebige Anzahl von Zeilen.

BorderStyle auf bsNone setzen und Color ändern


DT
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 06.09.05 10:15 
Bei Label geht das auch, nur nicht im OI. Probier mal im Quelltext an geeigneter Stelle das:
ausblenden Delphi-Quelltext
1:
Label1.Caption := 'Zeile 1' + #13#10 + 'Zeile 2';					

_________________
We are, we were and will not be.
ggehrma Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 111

WinXP
D2005 Pers.
BeitragVerfasst: Di 06.09.05 14:31 
@ Gausi,

funktioniert perfekt. Danke.

_________________
"...To boldly go where no one has gone before."