UI foreground not updating

Something has broken in my code, and I can’t trace it. I have 2 threads handling WiFi and Lora connections and these work fine. I even tried running with these not started and same issue.

I update the text boxes and image etc from a timer. I can step through this but see no changes to the textboxes. Debug hovering shows the Text field was updated.

It appears to be thread locked but I can’t see any reason the 2 threads would do this when they used to work and I’ve not change them. The only changes I have made is to the UI in one of my classes to add additional text boxes and UI images.

If I step through the code some things work except for the UI not changing as above.

I know it’s a long shot, but any ideas where to start looking?

If I disable the update of the fields but not starting the timer, everything works and the WiFi and Lora all work so something is up with the code that updates all of the UI elements.

Trust me to finally find it. Posting this as it may help others with the same fault. One of my values was NULL and setting the Text field of a TextBox to null crashes the system without any exceptions. Now it’s all working.

Still a work in progress for the clock digits. Would prefer something more rectangular.

4 Likes