Grazie Mille Per caso sai come fare questo in Basic4Android? ovvero voglio prendere due pulsanti con indici diversi appartenent al panel e cambiargli di testo.
COME SI FA?
For i = 25 To 0 Step -1
Dim random As Integer
random = Int(Rnd() * 13 + 1)
Dim random2 As Integer
random2 = Int(Rnd() * 13 + 1)
Dim p As Control = Panel1.Controls(random)
Dim p2 As Control = Panel1.Controls(random2)
Dim temp As String
temp = p.Text
p.Text = p2.Text
p2.Text = temp
Next
COME SI FA?
For i = 25 To 0 Step -1
Dim random As Integer
random = Int(Rnd() * 13 + 1)
Dim random2 As Integer
random2 = Int(Rnd() * 13 + 1)
Dim p As Control = Panel1.Controls(random)
Dim p2 As Control = Panel1.Controls(random2)
Dim temp As String
temp = p.Text
p.Text = p2.Text
p2.Text = temp
Next