Substack tracking main stack and staying at top level

Jim Schaubeck jimschaubeck at yahoo.com
Sat Mar 2 13:48:21 EST 2013


Thank you Mike and Roger!  That did the trick!
 
______________________________________________________________________________________________

  jim schaubeck                                       jimschaubeck at yahoo.com/ 714.321.4499


________________________________
 From: Mike Bonner <bonnmike at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com> 
Sent: Saturday, March 2, 2013 7:28 AM
Subject: Re: Substack tracking main stack and staying at top level
 
After setting up a big stack and a smaller stack I put the following into
the card of the stack that will stay in the background.

*on* movestack

   *lock* screen

   *set* the bottomleft of stack "overlaystack" to the globalloc of the
bottomleft of this card

   *unlock* screen

*end* movestack


globalloc will change relative coordinates to global (screen) coordinates
so the bottomleft of this card gives a screen loc that the overlay stack is
set to.

Basically keeps the overlay stack at the bottom left corner of the
background stack. (lock screen makes a slight difference in how "clean"
things look while you're dragging, but isn't really necessary.)


On Sat, Mar 2, 2013 at 8:15 AM, Jim Schaubeck <jimschaubeck at yahoo.com>wrote:

> Thank you Roger!  That works to easily keep the substack on top!
>
> How to I have the substack "track" the main stack when the main stack is
> dragged somewhere else on the screen?
>
>
>
> ______________________________________________________________________________________________
>
>   jim schaubeck
> jimschaubeck at yahoo.com/ 714.321.4499
>
>
> ________________________________
>  From: Roger Guay <irog at mac.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Sent: Saturday, March 2, 2013 7:08 AM
> Subject: Re: Substack tracking main stack and staying at top level
>
> Hi Jim,
>
> Just check the "Float above evertyhing" in the stack properties of the
> substack.
>
> Roger
>
> On Mar 2, 2013, at 8:00 AM, Jim Schaubeck <jimschaubeck at yahoo.com> wrote:
>
> > Livecode friends,
> > I would like to have a substack open and stay in a certain area of the
> main stack.  Also, if the main stack is clicked, the substack stays at top
> level.  Can someone please advise as to how I can do this?
> >
> > I can do this with groups but too many groups gets a bit challenging to
> manage.
> >
> > Thank you much!
> >
> >
> ______________________________________________________________________________________________
> >
> >   jim schaubeck
> jimschaubeck at yahoo.com/ 714.321.4499
> > _______________________________________________
> > 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:
> 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:
> 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:
http://lists.runrev.com/mailman/listinfo/use-livecode


More information about the use-livecode mailing list