AW: Answer dialog enhancement...

2020-04-01 Thread Paul Dupuis via use-livecode
So I have a working mechanism to add a "Don't Ask Again" check box to the existing standard Answer Dialog on the fly. I offer it up to the community for anyone who needs it and for anyone who may want to improve the code. The scripts are below. There is a sample usage you can place in a clickab

Re: Answer dialog enhancement...

2020-03-31 Thread J. Landman Gay via use-livecode
I had to create my own for mobile since the default didn't do what I wanted. I implemented it as a group. When the user hits the OK button it places the response in the dialogdata and sends a message to the card. The card has a handler that captures the message and gets the dialogdata to do wha

Re: Answer dialog enhancement...

2020-03-31 Thread Paul Dupuis via use-livecode
On 3/31/2020 7:12 PM, Bob Sneidar via use-livecode wrote: Seems like most if not all this code has been done already in the dialog itself. I’ll look into it because I wanted at one point to make an enhanced answer dialog as well. Bob S I'm thinking that if I need to roll my own, then my appr

Re: Answer dialog enhancement...

2020-03-31 Thread Bob Sneidar via use-livecode
Seems like most if not all this code has been done already in the dialog itself. I’ll look into it because I wanted at one point to make an enhanced answer dialog as well. Bob S On Mar 31, 2020, at 4:09 PM, Paul Dupuis via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 3/31/20

Re: Answer dialog enhancement...

2020-03-31 Thread Paul Dupuis via use-livecode
On 3/31/2020 6:10 PM, Bob Sneidar via use-livecode wrote: The answer dialog is simply a stack in and of itself if I am not mistaken. I’m wondering if you couldn’t find that stack and clone it for your own purposes… Bob S Yes. That is easy enough. Turn on "Show IDE Stacks in List" from the "V

Re: Answer dialog enhancement...

2020-03-31 Thread Bob Sneidar via use-livecode
The answer dialog is simply a stack in and of itself if I am not mistaken. I’m wondering if you couldn’t find that stack and clone it for your own purposes… Bob S On Mar 31, 2020, at 12:24 PM, Paul Dupuis via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Here is another attempt t

Answer dialog enhancement...

2020-03-31 Thread Paul Dupuis via use-livecode
Here is another attempt to not reinvent the wheel: We, like a lot of people, use: answer [/iconType/]/prompt/[with/button1/[or/buttons/]] [titled/windowTitle/] [as sheet] And we use the various iconTypes to who error, warning, or informational icons. We have a lot of these that are caution d