Bring a stack to front when it is already open

Craig Newman craig at starfirelighting.com
Thu Oct 31 09:25:48 EDT 2024


Bob.

Not odd at all. I just went through something similar:

https://forums.livecode.com/viewtopic.php?f=9&t=39422

Haunted software. It is halloween, after all.

Craig


> On Oct 29, 2024, at 11:09 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Okay, that’s odd. It IS working now. 
> 
> Bob S
> 
> 
>> On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Bob wrote:
>> 
>>> This may seem simple, but for some reason it’s not working. I have a
>>> Views function that can open multiple windows in one click, but
>>> sometimes stacks can be obscured by others, so I have a Modules Menu
>>> where you can select a stack and it will open it. 
>>> 
>>> The problem is, Open Stack and Go Card x Of Stack are not bringing
>>> the stack I select to the front, and neither is topLevel which only
>>> works if the stack is not already open. 
>> 
>> "open stack <stackname>" works. If it's not working there something else is in play.
>> 
>> 
>> Quick verification:
>> 
>> 1. Create a stack, name it "AAA"
>> 2. Create a bunch of other stacks, so "AAA" is behind them
>> 3. Run this in the Message Box:
>> 
>>  open stack "AAA"
>> 
>> Result: "AAA" comes to the front of all stack windows
>> 
>> --
>> Richard Gaskin
>> FourthWorld.com
>> 
>> _______________________________________________
>> 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