佚名通过本文主要向大家介绍了activex控件属性,activex控件下载xp,activex控件下载,activex控件,activex控件被阻止等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 如何调用ActiveX控件的多参数属性
描述:
解决方案1:
描述:
一个ActiveX控件一个属性声明为:
[propput, id(0x0001000F), helpstring("设置命令.")]
HRESULT FileCommand([in] MyType Item, [in] boolean vbool);
[propget, id(0x0001000F)]
HRESULT FileCommand([in] myType Item, [out,retval] boolean* pbool);
其中myType为程序定义的枚举类型,请问在vb script或java script中如何调用该属性并对其赋值?
解决方案1:
FileCommand(type) = xxx;
xxx = FileCommand(type);