wimpie3 Well-Known Member Licensed User Longtime User Jul 2, 2019 #1 Just discovered that B4X: if not connected does not work (connected is a function returning a boolean). You need to use B4X: if connected=false VB supports both versions. Would be nice if B4A could do the same.
Just discovered that B4X: if not connected does not work (connected is a function returning a boolean). You need to use B4X: if connected=false VB supports both versions. Would be nice if B4A could do the same.
Erel B4X founder Staff member Licensed User Longtime User Jul 2, 2019 #2 Not is a method in B4X. B4X: If Not(Connected) Then ... Button1.Enabled = Not(Button1.Enabled)