Bring a stack to front when it is already open
Bob Sneidar
bobsneidar at iotecdigital.com
Mon Oct 28 11:27:28 EDT 2024
Thanks Phil. I suspected it might be a workaround, but it just seemed odd to me that with all the window commands and functions, there was no way to do this with a single command.
Bob S
> On Oct 26, 2024, at 12:58 PM, Phil Davis via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Oops - sorry about the run-on words. Weird.
>
> put the style of stack "untitled 1" into x
> set the style of stack "untitled 1" to "palette"
> set the style of stack "untitled 1" to x
>
>
> On 10/26/24 12:48 PM, Phil Davis via use-livecode wrote:
>> Hi Bob,
>>
>> This may answer your need but isn't very elegant:
>>
>> *put*thestyleofstack"untitled 1"intox
>> *set*thestyleofstack"untitled 1"to*palette*
>> *set*thestyleofstack"untitled 1"tox
>>
>> Phil Davis
>>
>>
>> On 10/25/24 9:38 AM, Bob Sneidar via use-livecode 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.
>>>
>>> How?
>>>
>>> Bob S
>>>
>>> _______________________________________________
>>> 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
>>
>
> --
> Phil Davis
> (503) 307-4363
>
>
> _______________________________________________
> 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