I have a save config routine which looks at the state of some checkboxes along with some textfield values and saves them to a file.
Text is saving fine but for some reason I can't seem to get the checkbox value.. It always returns false even when it's ticked.
Elsewhere in my code I'm using an if statement e.g.
This is working fine.
But when I do this
I always write false
Text is saving fine but for some reason I can't seem to get the checkbox value.. It always returns false even when it's ticked.
Elsewhere in my code I'm using an if statement e.g.
B4X:
If Checkbox1.checked = True then
'DO CODE HERE
End If
But when I do this
B4X:
Writer.Writeline("CheckBox Value," & CheckBox1.Checked)