How can i get the button_click specify?
dim btnImage As Button
For i=1 To 5
btnImage.Initialize("btn")
btnImage.Tag = i
btnImage.Text = "Btn #" & i
Scrol.Panel.AddView(btnImage, 10%x, Scrol.Panel.Height, 80%x, 50dip)
Scrol.Panel.Height = Scrol.Panel.Height + 60dip
Scrol.Panel.Invalidate
Next
Sub btn_click
Log("The Button is ???" ) ' btnImage.tag??? btnImage.name??
End Sub
dim btnImage As Button
For i=1 To 5
btnImage.Initialize("btn")
btnImage.Tag = i
btnImage.Text = "Btn #" & i
Scrol.Panel.AddView(btnImage, 10%x, Scrol.Panel.Height, 80%x, 50dip)
Scrol.Panel.Height = Scrol.Panel.Height + 60dip
Scrol.Panel.Invalidate
Next
Sub btn_click
Log("The Button is ???" ) ' btnImage.tag??? btnImage.name??
End Sub