Lock/Unlock Screen of another stack

Roger Guay irog at mac.com
Sun Apr 4 22:34:42 EDT 2021


Hi Klaus,

> On Apr 4, 2021, at 4:50 PM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Roger,
> 
>> Am 05.04.2021 um 00:56 schrieb Roger Guay via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> Hi all,
>> 
>> I have a button on one stack that hides and shows controls of another stack. Is it possible to add Lock screen for effect and Unlock screen with effect in that button? Can’t seem to make it work….
> 
> a shot in the dark, but does setting the defaultstack first help?
> But maybe you already tried that.

I did try that but to no avail. However, I solved my problem by putting the guts of the script inside a handler in the stack I want to control. I then just call that handler from the stack that is controlling. Works great . . . probably a better way to go anyway.

Thanks for your help

Roger
> 
>> Thx,
>> 
>> Roger 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
> 
> 
> _______________________________________________
> 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