When I use a CheckBox and set CheckBox.Enabled = False, it no longer shows the state of the CheckBox (whether it's clicked or not clicked).
As an example, in the following code, the CheckBox first displays as being checked, but then becomes blank (unchecked) when it is disabled:
This is obviously an Android annoyance and not something to do with B4X.
Is there a reason for it working like this?
Is there a way to overcome this, so as to be able to display a Checkbox's state, even when it is disabled?
As an example, in the following code, the CheckBox first displays as being checked, but then becomes blank (unchecked) when it is disabled:
B4X:
Dim chkTest As CheckBox
chkTest.Checked = True
chkTest.Enabled = False
Is there a reason for it working like this?
Is there a way to overcome this, so as to be able to display a Checkbox's state, even when it is disabled?
Last edited: