Page 1 of 1

answer dialog is closing my modeless dialog

Posted: Tue Apr 02, 2013 5:33 pm
by CenturyMan1979
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?

Re: answer dialog is closing my modeless dialog

Posted: Tue Apr 02, 2013 7:50 pm
by dunbarx
Hi.

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

Craig Newman

Re: answer dialog is closing my modeless dialog

Posted: Tue Apr 02, 2013 8:17 pm
by CenturyMan1979
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

Re: answer dialog is closing my modeless dialog

Posted: Thu Apr 04, 2013 7:37 pm
by dunbarx
It is frequently the little ornery things...

Craig Newman