vb中的用户自定义类型是在moudle模板里面弄的吗?

来源:百度知道 编辑:UC知道 时间:2024/06/24 16:03:39

不需要!
在form内就可以了。

private type MyMouse
x as long
y as long
end type

新建模块,然后编写代码就可以。记得要在工程设置里把启动设置为SUBMAIN()