Hi, I have this problem:
and this sub:
I have NOT errors, but button are enabled (true)!
B4X:
Sub Globals
...
...
'creo un array di button
Private buttons() As Button
buttons = Array As Button (Button1, Button2, Button3, etc)
and this sub:
B4X:
Sub InizializzaBottoni
For i=0 To 2
buttons(i).Initialize("")
buttons(i).Enabled=False
Next
I have NOT errors, but button are enabled (true)!