Autor Beitrag
Cash
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 40



BeitragVerfasst: Mo 17.03.03 19:12 
Hi@all

Ich möchte gern einen kleinen MEHRZEILIGEN Text in EIN Lable eingeben.
Wie stelle ich das an?

thx4all

_________________
Ein Sieger gewinnt etwas, ein 'Geschlagener' lernt eine Menge dazu :)
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mo 17.03.03 19:42 
Hallo

ausblenden Quelltext
1:
label1.caption := '1.Zeile'+#13#10+'2.Zeile';					


edit: wenn viel wird, besser ein Memo nehmen und ein wenig an den einstellungen rummfummeln (color=clbuttonface , 3d und borderstyle aus)

mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mo 17.03.03 21:25 
oder anstatt "#13#10" einfach "^j" schreiben
delphiDeveloper
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48



BeitragVerfasst: Mi 19.03.03 16:02 
Titel: RXLib besorgen
Wenn RXLib installiert ist, kann man die Caption von TLabel
bereits zur Entwurfszeit mehrzeillig eingeben.
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mi 19.03.03 16:30 
wer benutzt schon fremde plugins oder komponenten??? ;
Segelflieger
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 124

WinXP Pro
D7 Prof
BeitragVerfasst: Mi 19.03.03 19:43 
Man kann auch AutoSize auf false und WordWrap auf true setzen, dann werden Zeilenumbrüche automatisch an die Labelgröße angepasst.

_________________
Früher hatten die Menschen Angst vor der Zukunft. Heute muss die Zukunft Angst vor den Menschen haben.