When i click on a control in a panel i can get the name of the controll with "sender" how can i get the name of the panel in the sub when i clicked on a controll in a panel
You can create an ArrayList for each panel and add the panels controls to the ArrayList.
Assuming that there are only a couple of panels in your project, you can use something like:
B4X:
'for each panel:
if ArrayList.IndexOf(sender) > -1 then ...