我想通过表单控件RectangleShape循环,但他们告诉我一个ereur当我写的CONTROLE((RectangleShape))循环遍历RectangleShape控制
For Each cnt As Control In Me.Controls
If TypeOf cnt Is RectangleShape Then
End If
Next
的类型,他们告诉我这个ereeur:“键入'RectangleShape'未定义。“
它的工作原理以及whene我使用的控件类型文本框或其他控件中,表单是这样的:
For Each cnt As Control In Me.Controls
If TypeOf cnt Is TextBox Then
End If
Next
之间没有继承链可以添加错误你的问题? – 2012-03-03 15:53:49
这就是它:类型'RectangleShape'没有被定义。 – user1233875 2012-03-03 16:00:37