![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/05/2005, 11:18
|
| | Fecha de Ingreso: junio-2004
Mensajes: 170
Antigüedad: 20 años, 7 meses Puntos: 0 | |
tengo este codigo pero no funciona void __fastcall TForm1::Button2Click(TObject *Sender)
{
if(ListBox1->ItemIndex != -1){
MediaPlayer1->FileName = ListBox1->Items->Strings[ListBox1->ItemIndex];
MediaPlayer1->Open();
MediaPlayer1->Display = Panel1;
MediaPlayer1->Play();
}
}
es el codigo del boton para ejecutar la musica pero me funca...
Que puedo haer o que tengo mal? |