Autor Beitrag
Lemon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 96

Win XP
D5 Standart
BeitragVerfasst: Sa 11.11.06 15:10 
hallo zusammen,

kann man auf einem panel den text mehrzeilig darstellen? hier im forum wird beschrieben, dass es mit
Panel1.caption := 'Erste Zeile' + #13 + 'Zweite Zeile';
gehen soll...
allerdings tut sich da bei mir nichts. die zweite zeile wird einfach nicht angezeigt.
kann mir jemand helfen?
vielen dank schonmal im vorraus!!
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 11.11.06 15:15 
Statt #13 benutz mal #13#10.

MfG
Lemon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 96

Win XP
D5 Standart
BeitragVerfasst: Sa 11.11.06 16:03 
geht leider auch nicht...
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 11.11.06 16:09 
Sorry ein Panel geht nicht mehrzeilig.
Außer wenn du etwas dran rumfriemelst
www.delphi-forum.de/...31768&highlight=

Aber du kannst auch einfach ein Label aufs Panel tun.

MfG
Lemon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 96

Win XP
D5 Standart
BeitragVerfasst: Sa 11.11.06 16:14 
danke, das mit dem label mach ich jetzt auch.
hab gedacht ich koennts mir sparen, is aber auch kein grosses problem.. ;)