[Lazarus] componentscount in panel

Paul Ishenin webpirat at mail.ru
Wed May 12 00:00:10 CEST 2010


12.05.2010 3:33, Fedorax wrote:
> I i put component in a panel from IDE Panel1.componentscount return 
> always 0
> All components make in IDE is child of main form, is there a solution 
> for make them
> childs of specific panel without check all existing components at 
> start in a loop ?
No. Form is the owner of all components. Use ControlCount for this case.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list