以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 写法报错求助 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=143858) |
-- 作者:ljh29206 -- 发布时间:2019/12/5 16:02:00 -- 写法报错求助 Dim pl As WinForm.Panel = Args(0) \'第一个参数是面板 For Each c As Winform.Control In pl ‘报错 RemoveControl(c.Name) Next 面板控件先清空再添加。 这个该怎么写呢?
|
-- 作者:有点蓝 -- 发布时间:2019/12/5 16:04:00 -- 清空? Dim pl As WinForm.Panel = Args(0) pl.ClearControl
|