i have form and component tPanel located on the form,

when i type frm_main.componentCount then result returned is normal, but when i want to get panel components count then result is 0 why ???

on TPanel component i have from 1..X tpanel components located, i want to get count of tpanels located on the tpanel....

if i type panel1.componentCOUNT then i get result =0, why ????


thanks.....