Re: Make an open stack modal by script

2018-03-28 Thread Richard Gaskin via use-livecode
Ah, yes - the *property* is read-only; I had mistakenly read that as being about the stack itself somehow being read-only. Yes, the relationship between mode, style, and the mode commands (toplevel, palette, modal, modeless) are wonderfully flexible. Mode lets us know what state the window is

Re: Make an open stack modal by script

2018-03-28 Thread Bob Sneidar via use-livecode
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

Re: Make an open stack modal by script

2018-03-28 Thread Richard Gaskin via use-livecode
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 Gask

Re: Make an open stack modal by script

2018-03-28 Thread Bob Sneidar via use-livecode
Brilliant! This will make things much smoother. I was hiding all other substacks while editing, but the disappearance of the other windows was disconcerting. Bob S > On Mar 28, 2018, at 08:50 , Paul Dupuis via use-livecode > wrote: > > set the style of stack XXX to modal > > set the tail e

Re: Make an open stack modal by script

2018-03-28 Thread Paul Dupuis via use-livecode
set the style of stack XXX to modal set the tail end of the style entry in the Dictionary for details On 3/28/2018 11:35 AM, Bob Sneidar via use-livecode wrote: > Hi all. > > I broached this subject before but in the reverse direction. I have an app > that allows multiple windows (I call forms)