Mixing dialogs together


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on June 12, 2007 at 14:34:53:

I replaced a QCRT program with a popup dialog (RHQ10). ENTERED'd from two places. It displays an invoice from the Invoice History and has buttons for Print, Fax or Email.

Upon selecting a button from the dialog, you ENTER an ExtendedWindow program (RHQ11) that does the printing (Print, Fax, or Email). For emails, it ENTER's another ExtendedWindow program (RHQ21) that displays a list of email addresses for selection. The program then ENTER's a popup dialog (RHQ23) to get comments. Proceeds to do the emailing using EmailPtr. At the end, the temporary PDF file is deleted. All this is working and the email with its PDF attachment is sent.

After EXIT'ing from RHQ11, RHQ10 does a CW.CloseAutoModeDialog and should return to the either of the two calling programs. However, the RHQ10 dialog disappears showing the calling program underneath but STATUS shows that RHQ10 is still running and is sitting at EventWait.

If I REM out the Comments dialog (RHQ23), RHQ10 closes properly as it does with the print and fax options. Seems like the CW.CloseAutoModeDialog and final "EventSub" in RHQ23 are stripping away the event that RHQ10 nned to properly close.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]