Hello
I am using :
in a sub. In another sub i want to retrieve which panel clicked. So I have to use a code with the following sub:
but i cant retrieve the tag of the clicked panel. I tried log(panel().tag) with no luck. What must i use to be able to retrieve the tag of the clicked panel?
TY
I am using :
B4X:
for i=0 to listtakip.size-1
panel(i).Initialize("panel")
panel(i).SetBorder(1,Colors.RGB(235,235,235),3)
panel(i).Color=Colors.Transparent
panel(i).Tag=eskitext.SubString2(eskitext.IndexOf("secilenid")+9,eskitext.Length)
next
in a sub. In another sub i want to retrieve which panel clicked. So I have to use a code with the following sub:
B4X:
sub panel_click
end sub
but i cant retrieve the tag of the clicked panel. I tried log(panel().tag) with no luck. What must i use to be able to retrieve the tag of the clicked panel?
TY