Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3791

Refreshing the interface

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 3791

Trending Articles