控件的属性问题有时候我们在遍历窗体控件时,经常看到两种写法for i := 0 to AControl.ControlCount - 1 doself.Controls[i]for i := 0 to self.ComponentCount - 1 doself.Components[i] 那么请问一下 ControlCount, 与ComponentCount 有什么区别....什么情况下用哪一种写法[解决办法]请参看这个。