Page 1 of 1
Open a window or panel
Posted: Sat Sep 17, 2011 8:57 am
by hurleyr
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
Re: Open a window or panel
Posted: Sat Sep 17, 2011 9:24 am
by Jellicle
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
Re: Open a window or panel
Posted: Sat Sep 17, 2011 9:36 am
by hurleyr
Thanks Gerry.
I will look at groups. sounds the best way to do it.
Richard
Re: Open a window or panel
Posted: Sat Sep 17, 2011 11:36 am
by Klaus
Hi Richard,
why not create an extra card for this?
The user will not tell the difference
Best
Klaus
Re: Open a window or panel
Posted: Sat Sep 17, 2011 12:08 pm
by hurleyr
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
Re: Open a window or panel
Posted: Sat Sep 17, 2011 12:20 pm
by Klaus
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
Re: Open a window or panel
Posted: Sat Sep 17, 2011 12:27 pm
by CALL-151
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.
Re: Open a window or panel
Posted: Wed Sep 21, 2011 12:13 am
by SteveHanlan
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
Re: Open a window or panel
Posted: Wed Sep 21, 2011 12:54 am
by Dixie
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