Can anyone please suggest what could make a button and an AutoCompleteEditText stop responding to clicks ? I can accept that I might change things while developing an app that might have unexpected consequences, but I need to know where to look for the fault. It is as if something has disabled these two views, but both are initialised as Enabled in the Designer, and the code relating to them is self-contained and unchanged - nothing else in the program refers to these views. This code proves that no click is being registered:
I have not changed any code that relates to the two items, which were both working fine. Other views on the same panel are still working fine. I'm not getting any error messages. I thought the problem might have something to do with another panel hidden underneath, but I moved it so the two panels are separated and the two dead views remain apparently disabled. I can't attach the entire working code as it relies on a large multi-table database. I can try to prepare a cut-down version but it will take a long time. So at this stage I'd be grateful for some ideas as to what could possibly have gone wrong.
Thanks in advance
Caravelle
B4X:
Sub btnDate_Click
Log("Date button clicked") ' nothing shown in log
' rest of sub commented out
End Sub
I have not changed any code that relates to the two items, which were both working fine. Other views on the same panel are still working fine. I'm not getting any error messages. I thought the problem might have something to do with another panel hidden underneath, but I moved it so the two panels are separated and the two dead views remain apparently disabled. I can't attach the entire working code as it relies on a large multi-table database. I can try to prepare a cut-down version but it will take a long time. So at this stage I'd be grateful for some ideas as to what could possibly have gone wrong.
Thanks in advance
Caravelle