How to detect when the user moves a stack
richmondmathewson at gmail.com
Wed Dec 15 05:31:34 EST 2021
remember to 'toplevel' you substack.
On Wed, 15 Dec 2021, 12:29 jbv via use-livecode, <
use-livecode at lists.runrev.com> wrote:
> Hi Klaus,
> Yes it works, thank you for the tip.
> Oddly I forgot about the "movestack" message, probably because it
> doesn't appear in the list of available messages when I open the stack
> script in LC 8...
> Le 2021-12-15 05:17, Klaus major-k via use-livecode a écrit :
> > 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
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode