标题:函数调用数组存储图片控件时遇到的问题,请高手指点!(代码在贴中)
取消只看楼主
shi781203
Rank: 2
来 自:广东省
等 级:论坛游民
帖 子:112
专家分:50
注 册:2011-3-18
结帖率:37.14%
 问题点数:0 回复次数:0 
函数调用数组存储图片控件时遇到的问题,请高手指点!(代码在贴中)
Dim FalshPictre() as Variant '声明一个任意类形数组
Dim i as Integer
FalshPictre = Array(Pictre1,Pictre2,Pictre3,Pictre4,Pictre5) '分别将Pictre1至Pictre5几个图片控件名存储到FalshPictre数组中
For i=0 to 4
    Call OpenFalsh(FalshPictre(i))
Next

'OpenFalsh函数声明如下
Private Sub OpenFalsh(fp as Object)
……
……
……
End Sub

但在运行编译时总是过不了并且提示“ByVal……”弹出框!!!
这究竟是怎么回事啊?
搜索更多相关主题的帖子: Object 图片 
2013-07-05 23:07



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-416762-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.621075 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved