Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    48

    Huh? Heeeellllp! Status Dialog Problem

    hey people, hope your all ok, i am having some issues with the status dialog

    im trying to show the progress of sending a message using http submit

    StatusDlg.Show();
    StatusDlg.ShowProgressMeter(false);
    StatusDlg.SetTitle("Php Mailer");
    StatusDlg.SetStatusText("Sending Your Message To: "..to.."...");
    HTTP.Submit(url, {to=to, subject=subject, message=message}, SUBMITWEB_POST, 20, 80, nil, nil);
    Application.Sleep(2000);
    StatusDlg.Hide();
    but everytime it doesnt set the titles and messages to what i asked it to, instead it does its own thing and says its downloading a file, and i really need it to say what i have set it as, it works if i take the http submit out but doesnt if i have it there,

    any ideas;

    Nathaniel Blackburn

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    That's annoying -- it doesn't say it supports callback; but it is using one; and you can't use your own. "bug" I would say.

    The normal thing you do is pass it "nocallback" as the callback function; and just create a callback that does nothing:
    function nocallback()
    return true
    end

    but in this case you can't specify one. Not sure you're going to be able to work around that using statusdlg

    You should probably create a DialogEx that says "please wait" or whatever, and have THAT download the file..


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts