无法更改ActiveX控件属性值 [英] Can't change ActiveX Control Properties Value
问题描述
大家好,
我正在尝试使用Visual Studio 2012进行ActiveX控件。我有1个方法和几个定制财产。但我不能改变财产的价值。我尝试使用Get Set函数或更改我创建的DummyForm来测试控件。我用这个
代码来修改我的财产,但没有任何的变化:
axBioCapture1.FormNo ="测试英寸;
label1.Text = axBioCapture1。 FormNo;
有人可以帮助我吗?
谢谢
Famamu
样品为一个C ++ ATL基于ActiveX控件代码是在
https://code.msdn.microsoft.com/windowsdesktop/ATLActiveX-9fcb47e9
Hi all,
I'm trying to make ActiveX control using Visual Studio 2012. I got 1 Method and several custom property. But I can't change the value of the property. I tried using Get Set function or change on the DummyForm that I create to test the control. I use this code to modify my property but nothing's change:
axBioCapture1.FormNo = "test";
label1.Text = axBioCapture1.FormNo;
can somebody help me?
Thanks
Famamu
Sample code for a C++ ATL based Activex control is at https://code.msdn.microsoft.com/windowsdesktop/ATLActiveX-9fcb47e9
这篇关于无法更改ActiveX控件属性值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!