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 ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.