vb中用循环使Label 赋值

2025-03-23 02:32:46
推荐回答(2个)
回答1:

VB中要用下面的方法来实现Label(x)这样的功能
for i = 1 to 8
Controls("label"&cstr(i)).Caption = cstr(i)
next

回答2:

说的太不具体了。