Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
Dim txtBox As WinForm.NumericComboBox
txtBox = e.Form.Controls("NumericComboBox1")
txtBox.ReadOnly = BooleanEnum.True
现在的情况是只有("NumericComboBox1")为只读,如果需要增加NumericComboBox2,NumericComboBox3。。。应该怎么改?
现在你才问到点子上了,代码:
For Each c As WinForm.Control In e.Form.Controls
c.ReadOnly = BooleanEnum.True
Next
参考这个: