Autor Beitrag
Massiv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 93



BeitragVerfasst: Mo 23.03.09 18:58 
hallo ich möchte gerne listbox mit tmediaplayer verwenden, aber wie geht das?
ich habs so versucht aber hat nicht geklappt:
Also erstaml listbox auf form ziehen und anschliessend auf item(bei eigenschaften) klicken und ein Musikname reinschreiben, damit in der list box was steht.
dann hab ich in der listbox als code folgenden eingegeben:
listbox1.Items.LoadFromFile('den PFad');
Mediaplayer1.open

was hab ich falsch gemacht!
bestimmt vieles^^
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 23.03.09 19:14 
Da mach ich mal Werbung für das Konkurrenz-Player-Tutorial: Mediaplayer for Dummies. Da wird das auch mit der Listbox erklärt.

_________________
We are, we were and will not be.
Dude566
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1592
Erhaltene Danke: 79

W8, W7 (Chrome, FF, IE)
Delphi XE2 Pro, Eclipse Juno, VS2012
BeitragVerfasst: Mo 23.03.09 21:38 
Danke user profile iconGausi für den Link, ist wirklich schon fast zu simpel erklärt.

_________________
Es gibt 10 Gruppen von Menschen: diejenigen, die das Binärsystem verstehen, und die anderen.