Zeppah
Member
I have five buttons that use an event. The event is to change the colors of the buttons and to set the user's choice. One of the buttons is sending the information as if it is the last button that was selected. I am plum out of ideas.
B4X:
'I have five buttons that use this event, four work and one button only sends
'The information for the last button pressed
'Button All is not changing the Sender, it is sending the code for the last button pressed
'
Sub PracticeMode_Click
Log(Sender)
CSSUtils.SetBackgroundColor(OldButton, fx.Colors.White)
CSSUtils.SetBackgroundColor(Sender, fx.Colors.LightGray)
OldButton = Sender
PracticeNumber = OldButton.Tag
End Sub
Last edited: