![]() |
#2
wube2012-05-24 15:13
|
有一个按钮数组Command1,5个按钮,其Index为不连续的
Command1(1).Caption="qq"
Command1(2).Caption ="aa"
Command1(4).Caption ="zz"
Command1(5).Caption ="ww"
Command1(7).Caption ="ss"
有数量不固定的Label控件
比如:
Label1.Caption="qq"
Label2.Caption="aa"
Label4.Caption="ss"
怎么根据Label的Caption比较找出按钮数组Command1中Caption与Label的Caption不相同的Index呢
For Each pp In Label
pp.Caption Then
Next pp