Page 1 of 1

Popup window?

Posted: Sun Jun 02, 2013 5:27 pm
by Guran89
Hi!

After browsing the forums for some time without finding a satisfying answer to my problem I decided to register and make a topic on my own.
I'm fairly new to the world of programming and RunRev, and even the simplest things can be challenging. So please be patient.

To the problem. I need a popup window. When a button is pressed, I want a small window to pop up where you can fill in some information in a couple of fields. I haven't been able to find a solution, and I really hope you guys can help me.

Long days and pleasant nights to y'all.

Re: Popup window?

Posted: Sun Jun 02, 2013 5:48 pm
by Klaus
Hi Guran,

1. welcome to the forum! :-)

2. Crate a stack with the fields for userinput as you need and then simply open that stack as modal.

HINT: Don't forget to provide a "close this stack" in your OK and CANCEL button for that stack,
otherwise you will not be able to close the modal stack and will have to "kill" Livecode, as I had
to experience in my early days :-D

Take a look a "modal" and "dialogdata" in the dictionary.
Drop a line if you need more help.


Best

Klaus

Re: Popup window?

Posted: Sun Jun 02, 2013 5:50 pm
by Dixie
Attached a stack... there are a couple of ways to do this, you could open a new window of show a group...

Re: Popup window?

Posted: Sun Jun 02, 2013 8:35 pm
by Guran89
Thank you so much! I chose to go with the Popup group solution. Now it's time to fight some SQL. I'll scream for help again if (when...) I need it.

Re: Popup window?

Posted: Sat Dec 24, 2022 4:28 pm
by Lance
Thanks for the example Dixie, you posted it years ago but just what I was looking for today.