主程序单元中写下列代码:
mediaplayer1.AutoEnable:=false;
Mediaplayer1.EnabledButtons:=[btStop];编译通过。
可将该代码放到另一单元作函数调用:
form1.mediaplayer1.AutoEnable:=false;
Form1.Mediaplayer1.EnabledButtons:=[btStop];编译时提示“[btStop]”错误。
请问错在哪里?
mediaplayer1.AutoEnable:=false;
Mediaplayer1.EnabledButtons:=[btStop];编译通过。
可将该代码放到另一单元作函数调用:
form1.mediaplayer1.AutoEnable:=false;
Form1.Mediaplayer1.EnabledButtons:=[btStop];编译时提示“[btStop]”错误。
请问错在哪里?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货