You have several options to enforce immediate display update.
1.In the windows menu, select
VMPreferences>Display and Sound
When you see a check mark before "defer display update", you should
remove it.
Without that option, all display update will be drawn immediately,
which is not always what you really want. (It may cause some
flickering!)
2. With the option "defer display update" set, you can try this:
|firstForm secondForm |
firstForm := Form extent: 50 _at_50 depth: Display depth.
secondForm := Form extent: 50 _at_50 depth: Display depth.
firstForm fillColor: Color red.
secondForm fillColor: Color green.
firstForm displayOn: Display at: 100 _at_ 100.
(Delay forMilliseconds: 1000) wait.
secondForm displayOn: Display at: 100 _at_ 100.
Display forceDisplayUpdate.
(Delay forMilliseconds: 50) wait.
firstForm displayOn: Display at: 100 _at_ 100
The "Display forceDisplayUpdate" enforces one immediate refresh
of the screen.
You can do this even more selectively with:
Display forceToScreen: (100 _at_100 extent: 50 _at_ 50).