I have two windows with a button. One of the button triggers a UrlConnection.Send and the other a URLConnection.SendSync
When the button is pressed, it’s disabled and a spinner is shown in the center. This works for the button which uses send (and waits for the content to be received) but obviously not for the SendSync(hronous) which halts everything until a response is received.
Before the SendSync is fired, the state of the button is changed but of course Xojo ignores that alltogether and the SendSync is fired without the button’s state being updated.
What is the best approach to force a proper refresh (of the GUI) before the SendSync?
9 posts - 5 participants