Hi,
I have found an error in the “Enabled” property.
This B4x code returns incorrect results in B4i, but returns the correct result in B4a.
Here is the B4x code:
Log output in B4i:
Log output in B4a:
I have found an error in the “Enabled” property.
This B4x code returns incorrect results in B4i, but returns the correct result in B4a.
Here is the B4x code:
B4X:
Log(" Test ")
Dim lblPlus, lblMinus As Label
lblPlus.Initialize("")
lblMinus.Initialize("")
lblPlus.As(B4XView).Enabled = 5 < 4
lblMinus.As(B4XView).Enabled = 10 > 1
Log("lblPlus.As(B4XView).Enabled = " & lblPlus.As(B4XView).Enabled)
Log("lblMinus.As(B4XView).Enabled = " & lblMinus.As(B4XView).Enabled)
Log("5 < 4 =" & (5 < 4))
Log("1 < 10 =" & (1 < 10))
Log(" ")
Log output in B4i:
Test
lblPlus.As(B4XView).Enabled = true
lblMinus.As(B4XView).Enabled = true
5 < 4 =false
1 < 10 =true
Log output in B4a:
Test
lblPlus.As(B4XView).Enabled = false
lblMinus.As(B4XView).Enabled = true
5 < 4 =false
1 < 10 =true