Hi all,
Refer to this, If I add the view Toggle for display state of ON/OFF,How do I code ?
I have code as below,but it's not right.
Refer to this, If I add the view Toggle for display state of ON/OFF,How do I code ?
I have code as below,but it's not right.
B4X:
...
Speak1.TargetEditText=EditText1 'Assume User spoke "ON"
if EditText1.Text="ON" then
Tb1.checked=True
else if EditText1.Text="OFF" then
Tb1.checked=False
End if