GUI updating problem

Marcus Pedersén marcus.pedersen at comhem.se
Mon Dec 19 21:48:10 UTC 2005


Hi!
I have got a GUI containing a TextMorph and my app is supposed to connect to a database. Just before I connect to my database I change my TextMorph like this:
myTextMorph contents: 'Connecting...'.
.....code for connecting to db.
But the GUI is not updated until I'm connected to the db.
How do I make sure that the GUI is updated before the connection starts?
Something like?:
myTextMorph contents: 'Connecting...'.
myGUI isUpdated
    whileFalse: [].
.....code for connecting to db.

Many thanks in advance!
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20051219/9a1a5490/attachment.htm


More information about the Squeak-dev mailing list