CallByName(object, procedurename, calltype,[arguments()])In the following example, the first line uses CallByName to set the MousePointer property of a text box, the second line gets the value of the MousePointer property, and the third line invokes the Move method to move the text box:CallByName Text1, "MousePointer", vbLet, vbCrosshair Result = CallByName (Text1, "MousePointer", vbGet) CallByName Text1, "Move", vbMethod, 100, 100
还有其它方法吗?
而vbscript(scriptcontrol)中的不可以。
葡萄你能把那个ocx发给我吗?
我的邮箱:[email protected]
先看看那个控件多大?
Result = CallByName (Text1, "MousePointer", vbGet)
CallByName Text1, "Move", vbMethod, 100, 100