Hi
This is my code
I don't have any error but when the form shows the button 's text is still empty the part "bt.Text = col.SubString2(y,y+1)" seems not working
This is my code
B4X:
Dim ligne As Int = 8
For y = 0 To 7
For i = 0 To frm.RootPane.NumberOfNodes - 1
If frm.RootPane.GetNode(i) Is Button Then
Dim str As String = frm.RootPane.GetNode(i).Tag 'a8 a7
If str = Chr(rg+97) & (ligne) Then
Dim bt As Button = frm.RootPane.GetNode(i)
bt.Initialize("")
bt.Text = col.SubString2(y,y+1)
ligne = ligne - 1
Exit
End If
End If
Next
Next
I don't have any error but when the form shows the button 's text is still empty the part "bt.Text = col.SubString2(y,y+1)" seems not working