How to detect when the user moves a stack
Klaus major-k
klaus at major-k.de
Wed Dec 15 05:17:07 EST 2021
Hi jbv,
> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode <use-livecode at lists.runrev.com>:
>
> Hi list,
> How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ?
> Here's my problem : I have a main stack calling a modal stack that displays information in real time while some client / server dialog is running. When the modal stack opens, it is located at the loc of the main stack. But if the user moves the main stack, the modal stack stays at the same place, and I would like it to move accordingly and remain at the loc of the main stack, no matter where the user moves the main stack.
> At least this is happening in the IDE, I haven't built a standalone yet.
usually you could check the "movestack" message, but I'm not sure if the MODAL stack
will not block any actions? Can't you use a "system window" instaed if that is the problem?
> Thanks in advance.
> jbv
Best
Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de
More information about the use-livecode
mailing list