customizing the answer dialogue box
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: customizing the answer dialogue box
Hi friends,
some clarifications:
1. Paul needs a solution for Android.
2. So all tricks with STACKS will not work for him.
3. The HTML-tricks will not work, since they will only alter the ASK and ANSWER Dalog STACKS!
4. Since we can only have ONE window (stack) open and displayed at a time on the mobile platform.
ALL stacks will open FULLSCREEN here and we cannot change this behaviour (yet?)!
I would also recommend to use goups, disguised as dialogs.
Set the layer of the group to TOP before showing, add a semitransparent background (filled graphic or whatever with blendlevel set)
to the group behind your buttons and/or fields and it will look as a dialog box and the user cannot click anywhere on the card but
on the buttons you supply in the group just like a nice custom modal dialog!
Best
Klaus
some clarifications:
1. Paul needs a solution for Android.
2. So all tricks with STACKS will not work for him.
3. The HTML-tricks will not work, since they will only alter the ASK and ANSWER Dalog STACKS!
4. Since we can only have ONE window (stack) open and displayed at a time on the mobile platform.
ALL stacks will open FULLSCREEN here and we cannot change this behaviour (yet?)!
I would also recommend to use goups, disguised as dialogs.
Set the layer of the group to TOP before showing, add a semitransparent background (filled graphic or whatever with blendlevel set)
to the group behind your buttons and/or fields and it will look as a dialog box and the user cannot click anywhere on the card but
on the buttons you supply in the group just like a nice custom modal dialog!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: customizing the answer dialogue box
Mobile apps are limited to one window at a time and are always full screen, so you can't show one smaller stack over another. The only way to get custom dialogs on mobile is to make a group and show that on the current card.
If you will need the dialog on more than one card, you can store it as an unplaced group in the stack and then place it and remove it as needed. That saves having to maintain duplicates.
If you will need the dialog on more than one card, you can store it as an unplaced group in the stack and then place it and remove it as needed. That saves having to maintain duplicates.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: customizing the answer dialogue box
So . . .Mobile apps are limited to one window
-
Re: customizing the answer dialogue box
Well, least I think I understand why my solution wouldn't work. Richmond's is running on the simulator though, isn't it? Doesn't that simulator only allow what the phone would allow?
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: customizing the answer dialogue box
Possibly, but not with me: I just had some fun with some graphics.Richmond's is running on the simulator though
Re: customizing the answer dialogue box
Oh you sneak ...!
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: customizing the answer dialogue box
That didn't do much good: or at least Bluestacks didn't like it:
https://www.bluestacks.com/about-us/app-player.html
HOWEVER: I do NOT believe my pictures corrupted the build.