Delphi ControlCount和ComponentCount的区别
摘要:
ComponentCount指打开的窗体所拥有的控件个数,包含所有子组件、孙组件(子组件内的子组件) 如上图,Form1的ComponentCount是13,而Panel1的ComponentCount为0 ControlCount指有多少个控件将自己做为父容器。只向下统计到子组件,而不包含孙组件 阅读全文
posted @ 2021-09-14 13:35 癫狂编程 阅读(265) 评论(0) 推荐(0) 编辑