Hi developers,
my question is simple, is this line:
.... the same of this code ?
Is that a correct way ?
Better way to do it ?
Thanks
my question is simple, is this line:
B4X:
ButtonA(i).Toggle = (A_Array(i).Mode = TOGGLE_ON)
B4X:
If A_Array(i).Mode = TOGGLE_ON Then
ButtonA(i).Toggle = True
Else
ButtonA(i).Toggle = False
End If
Is that a correct way ?
Better way to do it ?
Thanks