I have a check box that I need to tick or untick based on a users saved preferences read from a map but cannot seem to figure it out.
I have tried
Where CheckBox1_autosearchnet is the check box name.Have tried other variations too such as
but without success. Unfortunately I am still new to B4A and never used a language that had check boxes before so can someone please tell me what I have done wrong?
Thanks.
Dave
I have tried
B4X:
If Map1.Get("autosearch") = "True" Then CheckBox1_autosearchnet.Checked
Where CheckBox1_autosearchnet is the check box name.Have tried other variations too such as
B4X:
If Map1.Get("autosearch") = "True" Then CheckBox1_autosearchnet.Checked = True
but without success. Unfortunately I am still new to B4A and never used a language that had check boxes before so can someone please tell me what I have done wrong?
Thanks.
Dave