Moving/Reposition Window pauses script

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
xfratboy
Posts: 97
Joined: Fri Mar 05, 2010 9:09 pm

Moving/Reposition Window pauses script

Post by xfratboy » Thu Apr 23, 2020 3:32 pm

I'm trying to understand why a certain behavior happens on a toplevel stack. If I have an animation process running (move object from p1to p20) and reposition or move the window to another part of my screen, the process going on will stop until I release the mouse. So for example, I have a moving object going back and forth in my program and when I move the window (by clicking and holding down the left mouse on the window title bar , i.e. grabbing the title bar and moving), the movement action of the animation that was going on will freeze until I release the mouse. I do not experience this behavior if I set the decorations to empty and "roll my own" window decorations, but in doing so I loose a lot of the native look and feel of a program not to mention the program does not show up on the taskbar or when issuing an alt-tab toggle which is common in windows environments. Any ideas?

Post Reply