Dim frm As FormFor Each frm In Forms
//...
NextA Forms collection is a collection whose elements represent each loaded form in an application. The collection includes the application's MDI form, MDI child forms, and non-MDI forms. The Forms collection has a single property, Count, that specifies the number of elements in the collection.
//...
NextA Forms collection is a collection whose elements represent each loaded form in an application. The collection includes the application's MDI form, MDI child forms, and non-MDI forms. The Forms collection has a single property, Count, that specifies the number of elements in the collection.
解决方案 »
- 由于其他应用程序忙,不能执行该操作,选择“切换到”按扭以激活忙的应用程序并纠正该错误!
- 在VB+Ado中,如何正确写一个Sql语句,让它不必出错.
- 问一个asp程序的问题 谢谢
- 关于滚动条的问题!急!!!在线等!解决就给分!!
- 菜鸟,谢谢您得帮助
- HELP me.
- 求救!一个简单的vb的问题
- 请问如何做好经常出差人员的考勤?
- 新人有问题求解决,我想做一个跟windows附带的计算器一样的,老是出错,请各位帮忙看看
- 靠,这下可怎么办,以前我感兴趣的贴子,我都要up,现在怎么找不到了,我还没来得及down
- 我想组织一个程序开发小组,有兴趣进来谈谈想法!和yongjie一样!
- 怎么动态建立控件数组?????
只要你在:
For Each frm In Forms
\\这里进行处理就可以了
if frm.caption=".." then
.....
end if
if frm.name=".." then
...
end if
Next