Make an open stack modal by script

Bob Sneidar bobsneidar at iotecdigital.com
Wed Mar 28 14:48:25 EDT 2018


The Property called mode is read only. The mode is set using the style keyword as was pointed out. That works a peach! I had been jumping through hoops to prevent users from accidentally switching a customer or site while editing a device record belonging to one of those two. Now I just set the style to "Modal" while editing and return it to "TopLevel" when not. 

Bob S


> On Mar 28, 2018, at 10:00 , Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Bob Sneidar wrote:
> 
> > Unfortunately, and to my great chagrin, the mode of a window is read
> > only.
> 
> What does that mean?  What exactly do you see?
> 
> I can't think of any mode that prevents text entry, so maybe you've encountered a bug, or some other script is preventing editing.
> 
> -- 
> Richard Gaskin





More information about the Use-livecode mailing list