Autor Beitrag
Girgl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 281


D6 Enterprise
BeitragVerfasst: Mo 05.07.04 21:03 
Servus,
ich geb einen Sound per TMediaPlayer - Komponente wieder.Der Sound wird dann wiedergegeben wenn eine bestimmte Form erstellt wird.Jetz will ich aber,dass der Sound stopt wenn die Form wieder geschlossen wird.
Also hab ich im OnClose - Ereignis geschrieben
ausblenden Delphi-Quelltext
1:
MediaPlayer.Close;					

aber der Sound spielt nach wie vor weiter.Hat jemand neIdee woran des liegt?
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mo 05.07.04 21:15 
ausblenden Delphi-Quelltext
1:
2:
MediaPlayer.Stop;
MediaPlayer.Close

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert