Popup window

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
ivaho
Posts: 37
Joined: Tue Feb 14, 2012 2:19 pm

Popup window

Post by ivaho » Mon Nov 12, 2012 5:14 pm

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

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: Popup window

Post by dunbarx » Mon Nov 12, 2012 5:19 pm

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

ivaho
Posts: 37
Joined: Tue Feb 14, 2012 2:19 pm

Re: Popup window

Post by ivaho » Mon Nov 12, 2012 5:58 pm

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.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: Popup window

Post by dunbarx » Mon Nov 12, 2012 8:27 pm

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

ivaho
Posts: 37
Joined: Tue Feb 14, 2012 2:19 pm

Re: Popup window

Post by ivaho » Mon Nov 12, 2012 8:57 pm

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

Post Reply