Modal dialog without decorations

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

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

Re: Modal dialog without decorations

Post by Klaus » Wed Jan 27, 2021 9:55 pm

Found the answer:
If your stack is "resizable" then the green "Maximize" button will appear!

DarkKnight
Posts: 17
Joined: Tue May 10, 2016 3:22 am

Re: Modal dialog without decorations

Post by DarkKnight » Thu Jan 28, 2021 10:36 pm

modal stack "Modal test"

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Modal dialog without decorations

Post by bogs » Thu Jan 28, 2021 10:46 pm

Erm, what does that mean?

* DOH! Never mind :oops:
Last edited by bogs on Thu Jan 28, 2021 11:36 pm, edited 1 time in total.
Image

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Modal dialog without decorations

Post by FourthWorld » Thu Jan 28, 2021 11:19 pm

Thanks for that code snippet, DarkKnight. That's the most common way to open a modal stack, and AFAIK the same method used to open the Ask and Answer dialogs.

There must be a difference in the stack properties. If I get some time later I'll see if I can reproduce this on my Mac, and then review the properties of my test stack and the Answer dialog until I find the errant setting.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

DarkKnight
Posts: 17
Joined: Tue May 10, 2016 3:22 am

Re: Modal dialog without decorations

Post by DarkKnight » Fri Jan 29, 2021 12:21 am

Thank you for your help everyone. Klaus figured it out. Setting the resizable of the stack to false was the solution.

Post Reply