ProgressBar in Marquee mode

Once you set a progressbar's style property to Marquee mode, how do you make it start and stop

Answer this question

ProgressBar in Marquee mode

  • David Pinto

    Thanks, your suggestion worked. I had forgotten that at one time I had windowblinds installed on my system, and that was messing with the progress bar. Once I uninstalled that problem went away.

    Thanks,
    JoshTongue Tied

  • New to SSIS

    I had my project starting up with a report and not a form.i changed it to a form and tried checking enable application framework like you recommended ,and the progressbar is now working.

    thank you.I was really struggling with it



  • John Bailey

    I was also trying to get the progressbar to work in Marquee mode, but it would only display the first block and stop.

    My project was starting from sub Main not a form and thus "Enable Application Framework" was unchecked.

    Once I changed the startup object to a form and checked "Enable Application Framework", the Marquee mode worked.

    For your information,

    Mary


  • Cider

    I have tried the following code in a button click event, and still my progressbar is not moving. Any further suggestions

    The progressbar is a System.Windows.Forms.ToolStripProgressBar control, and it's name is pb.



    pb.Visible = True
    pb.ProgressBar.Show()
    pb.Style = ProgressBarStyle.Marquee
    pb.MarqueeAnimationSpeed = 100
    pb.ProgressBar.MarqueeAnimationSpeed = 100
    pb.ProgressBar.Value = 1
    pb.Value = 1


     


    Thanks,
    Josh

  • Ditlef Martens

    Hi,



    Just set the MarqueeAnimationSpeed property to 0 to stop it. Just give it a value to resume...





    cheers,


    Paul June A. Domag

  • ProgressBar in Marquee mode