Page 1 of 1

Popup window

Posted: Mon Nov 12, 2012 5:14 pm
by ivaho
Hi,

I have fullscreen application.
I want to add a contact form that opens "above" the fullscreen like an popup.

How to create this, if possible?

kind regards Ivo

Re: Popup window

Posted: Mon Nov 12, 2012 5:19 pm
by dunbarx
Hi.

Why not just open a substack that can float above the mainStack? There are a million "modes" available for that stack, to suit your needs. See "mode" in the dictionary.

Or is it something entirely different?

Craig Newman

Re: Popup window

Posted: Mon Nov 12, 2012 5:58 pm
by ivaho
Thanks for your reply.

I Found the different Modes but cant seem to get it to work.
As son if i set the mode to modeless i cant do anything in Livecode anymore.

Re: Popup window

Posted: Mon Nov 12, 2012 8:27 pm
by dunbarx
Did you set the new stack to "modeless", or was it "modal"? Remember that a modal stack is blocking, and you have to have an escape route. This could be a button that closes that stack.

But if you really have "modeless" as the mode, I cannot see why you are having an issue. This just makes the stack uneditable, but does not prevent other actions.

Write back...

Craig Newman

Re: Popup window

Posted: Mon Nov 12, 2012 8:57 pm
by ivaho
Thanks for your help.

I've got it working now.

I made the extr screen for the popup as a new card instead of a new substack.

kind regards Ivo