answer better
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: answer better
Can you explain things a bit more, please?
-
- VIP Livecode Opensource Backer
- Posts: 9669
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: answer better
Hi.
Do you mean apart from the standard and not so lovely "Answer" dialog?
If yes, then the, er, answer is also "yes".
Yes?
Craig
Do you mean apart from the standard and not so lovely "Answer" dialog?
If yes, then the, er, answer is also "yes".
Yes?
Craig
-
- VIP Livecode Opensource Backer
- Posts: 9669
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: answer better
Hmmm.
What are you asking for? A prettier or more functional answer dialog?
Craig
Exactly, "what"?.what?
What are you asking for? A prettier or more functional answer dialog?
Craig
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: answer better
Hi,
When i need a special answer dialog i use a group, but it is more work than use answer dialog.
As Craig said what is your need ?
Best regards
Jean-Marc
When i need a special answer dialog i use a group, but it is more work than use answer dialog.
As Craig said what is your need ?
Best regards
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 9669
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: answer better
Jean-Marc is a fan of groups. There is a good reason for that.
I am a fan of subStacks. There is a good reason for that.
But without some sort of feedback, we are unable to advise...
Craig
I am a fan of subStacks. There is a good reason for that.
But without some sort of feedback, we are unable to advise...
Craig
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: answer better
yeah sorry, i meant that i don't like the appearance of the answer dialog (aesthetically) -because it's black and gray -in a rectangular shape and so on...
sorry I was not clear.
thanks!
sorry I was not clear.
thanks!
Samuele.
-
- VIP Livecode Opensource Backer
- Posts: 9669
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: answer better
Richmond is famous for graphic gadgetry.ah wow! that's actually good!! how'd you do it?
The standard answer (and "ask") dialogs are modal dialogs. They float above all others, are blocking, and must be dismissed before anything else can proceed. For me, I do not care about the looks of those dialogs, but sometimes want extra controls or options. In that case I create a substack that has the same properties of a modal dialog, but built to my taste, and simply navigate there.
How you do it is up to you. You just ought to know the various ways you can build it.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 327
- Joined: Sun Apr 15, 2012 1:17 am
- Location: USA
- Contact:
Re: answer better
It is easy.Samuele
1. Create a substack - File>New SubStack of .... (New SubStack of Main)
2. Name it (e.g. "save") and add a button to close it with the following code:
Code: Select all
on mouseUp
...
go to stack "main"
close stack "save"
Code: Select all
on mouseUp
modal stack "save"
end mouseUp
for illustrations, look at the code at https://sites.google.com/a/pgcps.org/li ... s_palettes
Hope this makes it clearer to you...
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: answer better
Samuel is building for mobile and an answer dialog created as a substack won't work there since there can only be a single window at a time. It would appear as a full screen card and the working substack would be suspended. A group is the only way to go if you want an overlay.
Substacks do work well on mobile if they are used as the single visible stack, like in the splash stack method.
Substacks do work well on mobile if they are used as the single visible stack, like in the splash stack method.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: answer better
Overly dialogs would seem a good high priority for the engine team.jacque wrote: ↑Tue Nov 30, 2021 4:44 pmSamuel is building for mobile and an answer dialog created as a substack won't work there since there can only be a single window at a time. It would appear as a full screen card and the working substack would be suspended. A group is the only way to go if you want an overlay.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: answer better
They've implemented the main ones that are allowed. It's more to do with various mobile platform restrictions. For example, you can show a popover or a picker on iOS but Android doesn't have that. Instead you get a full screen window with some radio buttons, which is the native display. It's ugly too.Overly dialogs would seem a good high priority for the engine team.
If you mean something else, groups work well already so I doubt an overlay would be a high priority, though I'd love it if it was.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com