Jump to content

Recommended Posts

Posted

Hi looking at the AutoIT Example for Progresson, I wanted a long text to be displayed instead of just 1 or 2 words...

Is it possible as I don't see a height and width option in the Progresson?

 

Example()

Func Example()
    ; Display a progress bar window.
    ProgressOn("", "Please wait while downloading the latest application update...", "0%", 30, 30, 16)

    ; Update the progress value of the progress bar window every second.
    For $i = 10 To 100 Step 10
        Sleep(500)
        ProgressSet($i, $i & "%")
    Next

    ; Set the "subtext" and "maintext" of the progress bar window.
    ProgressSet(100, "Done", "Complete")
    Sleep(1000)

    ; Close the progress window.
    ProgressOff()
EndFunc   ;==>Example

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...