在onpostclick事件中
1 q% P& P+ P t$ y
if(Button==btPlay)
{
5 P& `& X: g }8 r6 t" OPanel1->Width=M->DisplayRect->Right-M->DisplayRect->Left;
Panel1->Height=M->DisplayRect->Buttom-M->DisplayRect->Top;
3 [0 ?+ l" `3 l: g( J}
# W! N% h) ^/ ^: }! |! A这样就可以让Panel的大小符合原来Clip的大小了
| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |