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
Guran89
Posts: 2
Joined: Sun Jun 02, 2013 5:20 pm

Popup window?

Post by Guran89 » Sun Jun 02, 2013 5:27 pm

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.

Klaus
Posts: 14191
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Popup window?

Post by Klaus » Sun Jun 02, 2013 5:48 pm

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

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Popup window?

Post by Dixie » Sun Jun 02, 2013 5:50 pm

Attached a stack... there are a couple of ways to do this, you could open a new window of show a group...
Attachments
pop.livecode.zip
(1.28 KiB) Downloaded 406 times

Guran89
Posts: 2
Joined: Sun Jun 02, 2013 5:20 pm

Re: Popup window?

Post by Guran89 » Sun Jun 02, 2013 8:35 pm

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.

Lance
Posts: 28
Joined: Sat Sep 05, 2020 2:36 pm

Re: Popup window?

Post by Lance » Sat Dec 24, 2022 4:28 pm

Thanks for the example Dixie, you posted it years ago but just what I was looking for today.

Post Reply