Open a window or panel
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Open a window or panel
HI,
I am creating an ipad App and I have a number of buttons on the screen. If the user clicks on a button I need to open some form of panel or window from which they have to make a selection by clicking on an icon.
Can anyone suggest the best way of doing this.
Thanks
Richard
I am creating an ipad App and I have a number of buttons on the screen. If the user clicks on a button I need to open some form of panel or window from which they have to make a selection by clicking on an icon.
Can anyone suggest the best way of doing this.
Thanks
Richard
Re: Open a window or panel
One way is to create a group that contains the buttons etc that they need to interact with, and also an opaque rectangle object behind the objects as the background. A group is an object that contains other objects, and can be hidden and shown with a simple command. Check out the user guide for more information on groups.
Gerry
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: Open a window or panel
Thanks Gerry.
I will look at groups. sounds the best way to do it.
Richard
I will look at groups. sounds the best way to do it.
Richard
Re: Open a window or panel
Hi Richard,
why not create an extra card for this?
The user will not tell the difference
Best
Klaus
why not create an extra card for this?
The user will not tell the difference

Best
Klaus
Re: Open a window or panel
HI Klaus
Can a child card be a smaller size than the original card, as I only want the popup to take up part of the screen.
Richard
Can a child card be a smaller size than the original card, as I only want the popup to take up part of the screen.
Richard
Re: Open a window or panel
Hi Richard,
no, card size = stack size, which is valid for ALL cards in that stack.
Changing one of these will affect the other one!
But one can always make it LOOK like that
Or use groups, as already proposed.
Best
Klaus
no, card size = stack size, which is valid for ALL cards in that stack.
Changing one of these will affect the other one!
But one can always make it LOOK like that

Or use groups, as already proposed.
Best
Klaus
Re: Open a window or panel
Gerry's approach has worked well for me. You can even fade the group in/out by looping through opacity levels, but the speed in the simulator will not match the real device speed so be sure to test on hardware to get the effect you want.
-
- Posts: 80
- Joined: Fri Jul 09, 2010 6:28 pm
Re: Open a window or panel
One word of warning on this approach, (which I also use), is to make sure that any other controls outside the group are deactivated, otherwise the user can bypass the 'pop-up' selection
cheers
Steve
cheers
Steve
Re: Open a window or panel
Steve ...
And one way to do that quickly is to display a 'rectangle' graphic on the card that is layered just behind the psuedo popUp group... set its opaque to true and its ink to 'noop', it will not be noticed by the user but will prevent the other controls outside the group from having their handlers fire...
be well
Dixie
And one way to do that quickly is to display a 'rectangle' graphic on the card that is layered just behind the psuedo popUp group... set its opaque to true and its ink to 'noop', it will not be noticed by the user but will prevent the other controls outside the group from having their handlers fire...
be well
Dixie