我在ScrollBox上放了一些控件,现在想得到控件的个数
用
ScrollBOX1.ComponentCount为什么返回的总是 0?
用
ScrollBOX1.ComponentCount为什么返回的总是 0?
解决方案 »
- 求解下面的函数??
- 安装的teechart怎么不全啊
- 一个关于服务端主动关闭客户端的问题
- 求hy14s卡机的接口dll和函数规格,送分
- 有谁熟悉AdoDataSet的Excute option里noblocking那个选项吗?就是非阻塞。我设置为true后,查处的结果不显示总是怪怪的。有谁明白吗?
- ASP怎样实现ADO的缓存。。。哪位大侠试过。。。急救!!!
- 关于ADO的事务处理(SQL Server 2000)
- 关于如何实现一个多线程的程序(急!!)
- 向各位朋友请教一个关于“权限管理”的问题!!(谢谢不吝赐教)
- getmem的用法?再次提问!
- 连续执行ADOQUERY会出错
- 这样定义数组可以吗?
按照delphi帮助中的解释;
The ComponentCount of a component contains the same number of items as in the Components list for that component,说componentcount属性是在某个控件的控件列表下的控件的条数;
我甚至先在另外一个事件中将一些控件的parent用代码设置了;但是还不行;
在显示的时候仍然是零;
注释中说:Read ControlCount when iterating over all the children of this control. The children of the control are listed in the Controls property array.
这个跟component有什么区别;?