i have an array of Tpanel. I create them at runtime and give then names. Then i compare mas[i].onclick := myonclick; So what button you press it calls procedure myonclick(sender: tobject);
My problem is how to know the name of Tpanel which i clicked. How get the name or tag???