Re: Message Sent when Closing Stack

2021-06-10 Thread Bruce Merritt via use-livecode
When the user force-quits you app, it when power fails you’re SOL Sent from my iPhone > On Jun 10, 2021, at 5:35 PM, Bob Sneidar via use-livecode > wrote: > > Yes it DOES work, using closeStackRequest. Not sure what I was seeing > before, but closeStackRequest DID trigger. > > That is

Re: Message Sent when Closing Stack

2021-06-10 Thread Bob Sneidar via use-livecode
Yes it DOES work, using closeStackRequest. Not sure what I was seeing before, but closeStackRequest DID trigger. That is great in the Development environment, but it does not work in a standalone. I think what we determined in prior posts is to disable the red close dot/square and have some

Re: Message Sent when Closing Stack

2021-06-10 Thread J. Landman Gay via use-livecode
On 6/10/21 11:59 AM, Bob Sneidar via use-livecode wrote: Hi all. We have gone around about this before, but I still cannot get this to work. I need to know if there is a message sent when a user clicks the close button in a window (on a Mac it's a little red dot in the upper left, on Windows

Re: Message Sent when Closing Stack

2021-06-10 Thread Tom Glod via use-livecode
this will work on closeStackRequest answer "When you press 'X' Do you want to minimize or exit?" with "Exit" or "Minimize" if it = "Minimize" then set the iconic of me to true else quit end if end closeStackRequest On Thu, Jun 10, 2021 at 2:21 PM

Re: Message Sent when Closing Stack

2021-06-10 Thread Craig Newman via use-livecode
Several are sent: “closeCard" “closeStack” “closeStackRequest” Crag > On Jun 10, 2021, at 12:59 PM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > We have gone around about this before, but I still cannot get this to work. I > need to know if there is a message sent when a user

Message Sent when Closing Stack

2021-06-10 Thread Bob Sneidar via use-livecode
Hi all. We have gone around about this before, but I still cannot get this to work. I need to know if there is a message sent when a user clicks the close button in a window (on a Mac it's a little red dot in the upper left, on Windows a red square with an X). I tried before closeStack,

Re: Replacetext of any characters between parentheses with a space

2021-06-10 Thread Paul Dupuis via use-livecode
On 6/9/2021 1:10 PM, Paul Dupuis via use-livecode wrote: on mouseup   put field "import" into timport   put replacetext(timport,"(.*)"," ") into field "import" end mouseup I think parenthesis are are reserved character in regex, so them may need to be escaped with a backslash like: (my regex

Re: Replacetext of any characters between parentheses with a space

2021-06-10 Thread Richmond Mathewson via use-livecode
Well, for both their repetitive an tedious lyrics, and their bank-rolling the Christ Brotherhood I can honestly say that I am grateful that most of the Grateful Dead are . . . On Thu, Jun 10, 2021 at 12:12 PM David V Glasgow via use-livecode < use-livecode@lists.runrev.com> wrote: > Ha! Another

Re: Replacetext of any characters between parentheses with a space

2021-06-10 Thread David V Glasgow via use-livecode
Ha! Another way. I couldn’t get the regex to work, despite Paul's invaluable help reminding me that replacetext is a function. My cobbled together solution involved setting itemdel to parentheses then deleting items. As the Grateful Dead rather repetitively put it: So many roads So many

Re: Replacetext of any characters between parentheses with a space

2021-06-10 Thread Richmond Mathewson via use-livecode
Well, at the rsik of getting things wrong, here's my attempt: https://forums.livecode.com/viewtopic.php?f=7=35951 Richmond. On Wed, Jun 9, 2021 at 8:05 PM David V Glasgow via use-livecode < use-livecode@lists.runrev.com> wrote: > LC coders, please tell me why this won’t work! My guess is that