for each aaa in frame1
if aaa=textbox then debug.pring aaa value
next
...全文
2292打赏收藏
vb里面如何引用Frame里面的所有textbox控件啊?
在程序里面加了个Frame窗体后,如何让他自动枚举引用里面的控件呢, 我并不想引用本窗体里面的所有控制值,我只想要当前窗体里面,frame1里面所有控件的值,如何做呢, 如以下,我知道我做错了,哪位高手指点下哈! for each aaa in frame1 if aaa=textbox then debug.pring aaa value next