Hi All
I have some buttons on my screen which are special. I have used the parameters to determine if they are visible dependant if they have any text.
I have tried to switch the button off, but it still appears and is visible and I can click it. Here is the code I am using to make it invisible and disabled.
Any ideas would be appreciated. Thank you
I have some buttons on my screen which are special. I have used the parameters to determine if they are visible dependant if they have any text.
I have tried to switch the button off, but it still appears and is visible and I can click it. Here is the code I am using to make it invisible and disabled.
Any ideas would be appreciated. Thank you
B4X:
btn1.xLBL.Text=sz.GetString("Answer2")
If btn1.xLBL.Text="" Then
btn1.xLBL.Visible=False
btn1.xLBL.Enabled=False
End If