发新话题
打印

什么定义数组窗体

什么定义数组窗体

我要定义这样的窗体

dim kkk1 as new from1
dim kkk2 as new from1
dim kkk3 as new from1
dim kkk4 as new from1
dim kkk5 as new from1
..........
.........
dim kkk100 as new from1

我这样定义
for i=1 to 100
dim kkk(i) as new from1
next i

结果VB报错,说"要求常数表达式"----(i)这个数

要什么样才能定义数组窗体啊??

TOP

发新话题