 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
René Schouten Guest
|
Posted: Fri Jun 24, 2005 9:16 am Post subject: Update AxtiveX component region |
|
|
Hi,
I'm using BCB5 i installed the activeX component TWindowsMediaPlayer.
On my form i placed the component WindowsMediaPlayer1. In the object
inspector i did set the following options:
Width=50
Height =50
I create a button which triggers the following code:
WindowsMediaPlayer1->Width=100;
WindowsMediaPlayer1->Height =100;
WindowsMediaPlayer1->Refresh();
WindowsMediaPlayer1->Repaint();
When i run the program and press the button, the WindowsMediaPlayer sizes do
change, but the actual playing region still is the old 50x50.
How can i force to update the actual playing region in the button code?
Thanks in advance
René
|
|
| Back to top |
|
 |
René Schouten Guest
|
Posted: Mon Jun 27, 2005 11:49 am Post subject: Re: Update AxtiveX component region |
|
|
Nobody any suggestion?
Or should a post in another newsgroup?
René
"René Schouten" <reneschouten (AT) seldi (DOT) nl> schreef in bericht
news:42bbcf5d (AT) newsgroups (DOT) borland.com...
| Quote: | Hi,
I'm using BCB5 i installed the activeX component TWindowsMediaPlayer.
On my form i placed the component WindowsMediaPlayer1. In the object
inspector i did set the following options:
Width=50
Height =50
I create a button which triggers the following code:
WindowsMediaPlayer1->Width=100;
WindowsMediaPlayer1->Height =100;
WindowsMediaPlayer1->Refresh();
WindowsMediaPlayer1->Repaint();
When i run the program and press the button, the WindowsMediaPlayer sizes
do
change, but the actual playing region still is the old 50x50.
How can i force to update the actual playing region in the button code?
Thanks in advance
René
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|