Hi Andreas,
There seems to be something wrong with MoveDisplay() on OS4. This code works as expected:
Code: Select all
WaitLeftMouse()
For x=1 To 15
Wait(10)
MoveDisplay(#CENTER+x, #CENTER)
Next
For x=14 To 0 Step -1
Wait(10)
MoveDisplay(#CENTER+x, #CENTER)
Next
However, if I remove the Wait() in each loop, the display does not return to the center of the screen (it just keeps going to the right). This problem shows up on my OS4 machine; but I tried compiling it for Windows, and it worked correctly---with or without the Wait().