Y
yeyun
Unregistered / Unconfirmed
GUEST, unregistred user!
我在网上找到了一个解决方法,
1、先在窗口里定义一个类型:
TLocOleCtrl = Class (TOleControl);
2、在窗口的OnResize事件里加上:
TLocOleCtrl (WindowsMediaPlayer1).OnPosRectChange (Rect (0, 0, ClientWidth, ClientHeight));
===========================
但一运行时就提示:
Expected ':' but '= ' found
请教高手如何解决?如何才能让WindowsMediaPlayer随Form大小而大小呢?谢谢了.
1、先在窗口里定义一个类型:
TLocOleCtrl = Class (TOleControl);
2、在窗口的OnResize事件里加上:
TLocOleCtrl (WindowsMediaPlayer1).OnPosRectChange (Rect (0, 0, ClientWidth, ClientHeight));
===========================
但一运行时就提示:
Expected ':' but '= ' found
请教高手如何解决?如何才能让WindowsMediaPlayer随Form大小而大小呢?谢谢了.