更改MDI子项[VB.NET]上的组件属性

时间:2012-02-06 08:54:51

标签: vb.net childwindow

如果我想要打开所有打开的子窗口的背景颜色,我会使用它:

For Each chld As Form In Me.MdiChildren
   chld.BackColor = Color.LightGray
Next chld

但是如何修改子表单上找到的文本框的颜色?

感谢

1 个答案:

答案 0 :(得分:0)

For Each chld As frmChild In Me.MdiChildren
   chld.BackColor = Color.LightGray
Next chld

我的错误:(