A way to tell if standalone is currently suspended?

Lyn Teyla lyn.teyla at gmail.com
Mon Dec 15 14:23:22 EST 2008


Thanks Mark, that works.

Now, how do you set a stack's window to show
an 'inactive' border?

Let's say you create a standalone that has a
splash screen stack, which then opens a
second stack several seconds later.

During those few seconds you switch to a
different app. When the second stack opens,
it sports a border indicating that it is the
'active' window, even though it isn't!

I would like to set that window to show an
'inactive' border upon detecting that the
app is in the background (in fact, aren't
things like that supposed to be handled by
Revolution)?

This issue occurs on all platforms.

Is there a built-in command (or some kind
of workaround) that lets you set a window's
border to show an 'inactive' state?

Lyn



Mark wrote:

> An easy way to do this:
> 
> on suspend
>  set the suspended of this stack to true
> end susped
> 
> on resume
>  set the suspended of this stack to false
> end resume
> 
> 
> ...if the suspended of this stack then...
>
> On 13 dec 2008, at 11:30, Lyn Teyla wrote:
>> 
>> Is there a way to tell (from within the standalone)
>> if a standalone is currently suspended (a different
>> app is in the foreground)?



More information about the use-livecode mailing list