以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- for each (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=119379) |
-- 作者:Rhonin -- 发布时间:2018/5/23 18:44:00 -- for each 老师好,我在窗口的afterload里面写上了如下语句,请问一下为什么不生效呢 For Each f As WinForm.Control In e.Form.Children If Typeof f Is WinForm.DateTimePicker Then f.Enabled=False Else End If Next |
-- 作者:有点甜 -- 发布时间:2018/5/23 21:15:00 -- For Each f As WinForm.Control In e.Form.controls If Typeof f Is WinForm.DateTimePicker Then f.Enabled=False Else End If Next |