Autor Beitrag
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 29.08.03 16:43 
Hi,
wie kann ich nen Zeilenumbruch in nen Speedbutton machen. Das brauche ich weil dieser keine WRAP-Funktion hat. Hab shconmal irgendwo sowas gesehen, finde es aber nimmer. Man kann es irgedbnwie mit solcehn Zeichen machen!?!?!

Greetz[/code]
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Fr 29.08.03 16:49 
hallo,

man zeilenumbruch bekommst du mittels

'Test'#13#10'test2'

Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 29.08.03 16:55 
thx
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 29.08.03 16:57 
Aber im Object Inspector geht das net. Gibts auch was das im OI fungiert?
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Sa 30.08.03 09:40 
Weiß das wieder keiner oder gibts da keine Funktion.

*ungeduldigschautinsforum*
FeG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Win XP Home, SuSE Linux 8.2 Prof
D3 Prof, D7 Prof
BeitragVerfasst: Sa 30.08.03 13:20 
Hi,
onlinehome hat folgendes geschrieben:
Weiß das wieder keiner oder gibts da keine Funktion.

Meines Wissens gibts da keine Funktion, da alles was du im OI eingibst, einfach in ' ' gesetzt wird und somit immer ein String ist...

MfG,
FeG
Andi1982
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 497

WinXP HE
D6 Enterprise
BeitragVerfasst: Sa 30.08.03 13:25 
Hi,
wenn du im FormCreate-Ereignis dem SpeedButton erst die Caption zuweißt funktionierts:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.FormCreate(Sender: TObject);
begin
   speedbutton1.Caption := 'Test'#13#10'test2'
end;


Gruß andi!!!

_________________
Solange die Bombe tickt ist alles in Ordnung, erst wenn sie damit aufhört wird es problematisch...
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Sa 30.08.03 18:53 
Andi1982 hat folgendes geschrieben:
Hi,
wenn du im FormCreate-Ereignis dem SpeedButton erst die Caption zuweißt funktionierts:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.FormCreate(Sender: TObject);
begin
   speedbutton1.Caption := 'Test'#13#10'test2'
end;


Gruß andi!!!


Das weiß ich, das dies geht, nur möchte ich es eigentlich im OI machen. Aber egal.

Danke für eure antworten.
Greetz
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 30.08.03 20:23 
Nein, im OI geht das nicht. Jetzt zufrieden?
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: So 31.08.03 11:52 
Luckie hat folgendes geschrieben:
Nein, im OI geht das nicht. Jetzt zufrieden?


Warum gleich wieder in so nen Ton????? :x
FeG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Win XP Home, SuSE Linux 8.2 Prof
D3 Prof, D7 Prof
BeitragVerfasst: So 31.08.03 13:56 
onlinehome hat folgendes geschrieben:
Warum gleich wieder in so nen Ton????? :x

Vielleicht weil ich das schon 3 Posts voher geschrieben habe???

MfG,
FeG
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: So 31.08.03 14:55 
FeG hat folgendes geschrieben:
onlinehome hat folgendes geschrieben:
Warum gleich wieder in so nen Ton????? :x

Vielleicht weil ich das schon 3 Posts voher geschrieben habe???

MfG,
FeG


Und ich habe in den Post vor Luckie schon geschrieben das es OK ist. Das keiner mehr antworten muss.