Bring a stack to front when it is already open

Bob Sneidar bobsneidar at iotecdigital.com
Tue Oct 29 11:09:53 EDT 2024


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



More information about the use-livecode mailing list