Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

A Cancel button

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • A Cancel button

    I dont know if there is already a topic for this but if its not here is my question.

    If i say:

    Code:
    
    -- Show the StatusDlg
    StatusDlg.Show(0, false);
    
    -- Set statusdlg title and message
    StatusDlg.SetTitle("Downloading . . . ");
    
    
    
    -- Set meter range (max range = 65534)
    StatusDlg.SetMeterRange(0, 100);
    
    -- Download a file from the internet to the user's computer
    -- Uses DownloadCallback() as the callback function
    
    
    
        HTTP.Download("http://yourdomein/yourshare", _SourceFolder.."\\yourshare.zip", MODE_BINARY, 20, 80, nil, nil, nil);
    
    
    
    
    -- Hide the StatusDlg
    StatusDlg.Hide();
    Than this code works great. But i want also a cancel button in there. What code will work with this script? i try a few but without any luck.

    Thanks.

  • #2
    http://www.indigorose.com/webhelp/am...n_Examples.htm

    StatusDlg.ShowCancelButton(true, "Stop Download");

    Regards,

    -Ron

    Music | Video | Pictures

    Comment


    • #3
      LOL Thanks m8 i will try this :yes

      Comment

      Working...
      X