Hi all,
I have a question regarding the view.
For example, the button is created programmatically,
When the event raised, we handle the button by looking in it's tag.
My question is, how to access the button that are not pressed?
Consider the scenario, when the "button 1" is pressed and all other buttons have to be invisible.
Thank you.
I have a question regarding the view.
For example, the button is created programmatically,
B4X:
For j = 0 To 2
For i = 1 To 3
Dim button As Button
button.Initialize("Button",button.STYLE_SYSTEM)
button.Text = i+(j*3)
button.Tag = "button"&(i+(j*3))
Panel1.AddView(button,(i)*Panel1.Width/5,100+(j*100),100,100)
Next
Next
B4X:
Sub Button_Click
Dim button1 as Button
button1 = sender
End Sub
Consider the scenario, when the "button 1" is pressed and all other buttons have to be invisible.
Thank you.