answer dialog is closing my modeless dialog

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
CenturyMan1979
Posts: 86
Joined: Tue May 15, 2012 5:56 pm

answer dialog is closing my modeless dialog

Post by CenturyMan1979 » Tue Apr 02, 2013 5:33 pm

Hey all, here is my issue,

1.) Open modeless dialog window
2.) Open an answer dialog within the modeless dialog window to alert user about something
3.) Click OK button in answer dialog which proceeds to close the answer the dialog and modeless dialog window

Is there something I can do to prevent the answer dialog from closing the modeless dialog?

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

Re: answer dialog is closing my modeless dialog

Post by dunbarx » Tue Apr 02, 2013 7:50 pm

Hi.

I don't see this at all. Are you sure there is no "close" command lurking anywhere?

Craig Newman

CenturyMan1979
Posts: 86
Joined: Tue May 15, 2012 5:56 pm

Re: answer dialog is closing my modeless dialog

Post by CenturyMan1979 » Tue Apr 02, 2013 8:17 pm

Well turns out it is not getting closed but instead is being sent behind the main application. So I added the following code after the answer dialog code,

Code: Select all

go to this stack

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

Re: answer dialog is closing my modeless dialog

Post by dunbarx » Thu Apr 04, 2013 7:37 pm

It is frequently the little ornery things...

Craig Newman

Post Reply