Android Question Selecting / Checking Radiobutton Programatically

roycegerikchua

Member
Licensed User
Longtime User
Hi is there any way to programmatically check or mark the radio button?
I am having trouble when i do this.

B4X:
        If colroot.Get("Gender") = "M" Then
                editradMale.Checked=True
                
            Else
                 editradFemale.Checked=True
            End If

Thank you for your help!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…