Re: Make an open stack modal by script

2018-03-29 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

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

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

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

Make an open stack modal by script

2018-03-28 Thread Bob Sneidar via use-livecode
Hi all. I broached this subject before but in the reverse direction. I have an app that allows multiple windows (I call forms) open at the same time. For instance I can have the customer form, the sites form and the devices form open simultaneously. Changing the customer loads the sites for