A Cancel button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Ham
    Forum Member
    • Apr 2005
    • 188

    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.
  • rhosk
    Indigo Rose Customer
    • Aug 2003
    • 1698

    #2


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

    Regards,

    -Ron

    Music | Video | Pictures

    Comment

    • Ham
      Forum Member
      • Apr 2005
      • 188

      #3
      LOL Thanks m8 i will try this :yes

      Comment

      Working...
      X