i use array to make button,
how i identify that button i click?
please give me an example
how i identify that button i click?
B4X:
dim button(13) as button
for i = 0 to 13 -1
but(i).Initialize("But")
Activity.AddView(but(i),10%x + (i*11.5%x),14.5%y,11.5%x,8.3%y)
next
sub but(0)_click 'error in here
msgbox("test","test")
end sub
please give me an example