PDA

View Full Version : DialogEx (HTTP.Download Callback Function) Help


David REMD
03-27-2009, 08:11 AM
I have created a DialogEx to display an HTTP.Download Callback Function. I have a cancel button on the DialogEx if the user elects to cancel the download.

If the user cancels the download, how do I prompt the user to confirm their intention, stop the download process, delete the file on the user's system being created during the download, and allow the DialogEx to close.

I have read through the AMS help menu but can't seem to figure it out. Any help would be greatly appreciated.

David REMD
03-27-2009, 03:07 PM
Can anyone help me with this, please?

Kick
03-27-2009, 03:14 PM
Try this code..

David REMD
03-27-2009, 03:23 PM
Thanks, Kick. I'll give it a try.

David REMD
03-28-2009, 01:22 PM
Kick,

I gave it a go and am having one problem. When I click the dialog close ("x" in the window top right corner), the dialog closes and the dialog message stills shows giving the user a choice to cancel the download or not.

Shouldn't the dialog close "x" and the cancel button behave the same way? Can you have a look and let me know, please? Thank you.