Re: Strange closeStack behavior

2021-10-04 Thread Bob Sneidar via use-livecode
Ohhh good suggestion I'll do that. Bob S > On Oct 4, 2021, at 06:30 , Craig Newman via use-livecode > wrote: > > Hi. > > Maybe just before the closeStackRequest line, ask for the topStack. Is it > possible the mainStack is somehow in front? > > Craig > >> On Oct 1, 2021, at 6:22 PM,

Re: Sample stacks / revOnline [was: Re: Suggestion: Non-Appbuilding Community Edition]

2021-10-04 Thread Bob Sneidar via use-livecode
I could have sired a child who was just now graduating high school! :-) Bob S > On Oct 3, 2021, at 09:16 , Mark Wieder via use-livecode > wrote: > > On 9/30/21 7:02 AM, Alex Tweedly via use-livecode wrote: > >> - a "require" or "include" mechanism for dependencies in libraries > > LOL.

Re: Strange closeStack behavior

2021-10-04 Thread Bob Sneidar via use-livecode
Okay, so I went through every closeStack and closeStackRequest handler in ALL my stacks and libraries and commented out the handlers. The problem persists. The stack in question is the only substack of a couple without a custom menu, so I am wondering if the last stack with a custom menu

Re: Strange closeStack behavior

2021-10-04 Thread Bob Sneidar via use-livecode
So my only solution I can come up with to keep this from happening is to disable the Close Window control, then add a button that saves the stack then closes it. It's ugly, but what else can I do. For my part, if a stack is a substack of a mainstack and I close it, the Save dialog should not

Re: Strange closeStack behavior

2021-10-04 Thread Craig Newman via use-livecode
Hi. Maybe just before the closeStackRequest line, ask for the topStack. Is it possible the mainStack is somehow in front? Craig > On Oct 1, 2021, at 6:22 PM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > Very strange. I have a substance belonging to a mainstack that has LOTS of

iphoneDeviceModel lookup library

2021-10-04 Thread Andreas Bergendal via use-livecode
Status update: I've updated the library with a minor correction (two iPhone 11 versions with notch that weren't included in the script constants). I've also improved the demo stack a lot, so that it now works in the Simulator, if you indicate which device you will simulate, before deploying.

Re: Strange closeStack behavior

2021-10-04 Thread J. Landman Gay via use-livecode
On 10/4/21 12:14 PM, Bob Sneidar via use-livecode wrote: The stack in question is the only substack of a couple without a custom menu, so I am wondering if the last stack with a custom menu becomes the topStack?? If there is no custom menu then LC's menu takes over, and that's the one that

Re: Strange closeStack behavior

2021-10-04 Thread Bob Sneidar via use-livecode
Okay, so I've come up with a relatively simple way to go about this. The problem is that when in standalone mode, closeStack does not close the splash stack, so the app keeps running even though there are no open windows, so I need to quit when the mainStack closes. But in Development mode, I

Re: Strange closeStack behavior

2021-10-04 Thread Bob Sneidar via use-livecode
Got it thanks. That explains why I cannot even trap for closeStackRequest int othe substack script. The really odd thing is I can in the message box enter "close stack Time Calculator" and it closes without even bothering to ask if I want to save it, even when it is "dirty". I was thinking of