Here is an example on how to set the size of a TPanel
to movie dimensions.
void __fastcall TForm1::Button1Click(TObject *Sender)
{
if (OpenDialog1->Execute()) {
MediaPlayer1->Display = Panel1;
MediaPlayer1->FileName = OpenDialog1->FileName;
MediaPlayer1->Open()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.