Autor Beitrag
Marat
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 25



BeitragVerfasst: Mo 21.06.04 22:35 
Guten Tag liebe Delphi Freunde!

Ich bin neu hier und ich heisse Marat. Ich hab Delphi erst seit einer Woche und ich hoffe ihr werdet mir bei meinen Amateur-Fragen
helfen.

Fragen:

Wie lasse ich eine Zeile frei? Hier ein Beispiel-
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.Button1Click(Sender: TObject);
begin
Label1.Caption :='Test Test' // Erste Zeile
                             // Hier will ich auch noch was hinmachen dass es in Caption mehrere zeilen sind.Wie?
                              
end;


Wie füge ich Musikdatei ins Delphi?

Rechtherzlichen Dank für die Aufmerksamkeit ich hoffe sie werden meine "billige" Fragen beantworten.

Moderiert von user profile iconPeter Lustig: Verzierungen im Titel entfernt
Moderiert von user profile iconTino: List-Tags entfernt.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 21.06.04 23:28 
Hallo und :welcome:
Zwei Zeilen in einem Label gehen z.B. so:
ausblenden Delphi-Quelltext
1:
label1.caption:='ErsteZeile' + #10#13 + 'Zweite Zeile';					

_________________
We are, we were and will not be.
EUOCheffe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 124



BeitragVerfasst: Mo 21.06.04 23:32 
Hallo und :welcome:
Sound abspielen in Delphi geht z.B. so:

www.swissdelphicente.../showcode.php?id=335
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Mo 21.06.04 23:46 
Gausi hat folgendes geschrieben:
Hallo und :welcome:
Zwei Zeilen in einem Label gehen z.B. so:
ausblenden Delphi-Quelltext
1:
label1.caption:='ErsteZeile' + #10#13 + 'Zweite Zeile';					


Oder auch #13#10! Weiss garnicht ob #10#13 funktioniert?

_________________
mfg.
mâximôv
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Di 22.06.04 09:02 
Hallo!

Demnächst bitte nur eine Frage pro Thread. Stelle die Frage zu den Sounds in einem neuen Thread.

Vielen Dank
Peter

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Marat Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 25



BeitragVerfasst: Di 22.06.04 13:34 
Viel Dank Leute! :wink: Ihr habt mir sehr beholfen!