Autor Beitrag
Barzi
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 13.05.06 18:13 
Hey Leute,
Wisst ihr wie man in einer Komponente z.B einen Label eine neue Zeile beginnt???
Danke im Vorraus
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Sa 13.05.06 18:18 
Ein Label ist nur einzeilig, nehme lieber ein Memo, wenn du mehrere Zeilen erfassen lassen willst.

_________________
Markus Kinzler.
Barzi
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 13.05.06 18:24 
Ich habs schon gefunden:
ListBox1.Items.Add 'Text'
Trotzdem Danke
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Sa 13.05.06 18:33 
Ein Label kann man mit #10#13 mehrzeilig machen
also:
Label1.caption := 'Hallo' + #10#13 + 'Welt';

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
Barzi
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 13.05.06 21:40 
Auch gut...Danke :D
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 13.05.06 22:11 
Oder du benutzt die Property WordWrap, die baut dir auch eine Mehrzeiligkeit, allerdings nach anderen Kriterien zusammen. (AutoSize muss auf false liegen!)

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN