none
how to use the style"marquee" of progressbar

    Question

  • how to use the style"marquee" of progressbar.

    how to let the marquees scroll and not scroll when the style of progressbar is set to marquee?

    Monday, February 20, 2006 2:40 AM

Answers

  • There is no such Scroll or Not Scroll.

    What you can do is that to change the Progress Bar Style, at the Form Load set the Style to Block, and change the style to Marqueee on a certain action.

    Hope this might help

    Wednesday, February 22, 2006 1:50 PM

All replies

  • Dear Eman Lee,

    You can use the marquee style when you need to indicate progress is being made, without indicating the quantity of progress. The Marquee style is honored only when visual styles are enabled. The Continuous style is honored when visual styles are not enabled.

    In Windows Appln,

    public ProgressBarStyle Style { get; set; }
    This has three Members ,
    1.Block
    2.Continuous
    3.Marquee
    
    I think this can help you.
    Note: 
    The Marquee style is only supported only on these platforms. 
    Windows XP Home Edition, Windows XP Professional x64 Edition, Windows Server 2003 Platform
    Let me know the status..
    Regards,
    Vinoth.N
     
    Monday, February 20, 2006 4:14 AM
  • Thank you very much!

    What you say can also  be found in MSDN .

    I put a progress bar onto a form, then set the style as Marquee.I press F5 to run , the progress bar begin to scroll. However, I don't want it scroll on  the form loading .

    how can i let it scroll and not scroll using C# code?

    Wednesday, February 22, 2006 1:15 PM
  • There is no such Scroll or Not Scroll.

    What you can do is that to change the Progress Bar Style, at the Form Load set the Style to Block, and change the style to Marqueee on a certain action.

    Hope this might help

    Wednesday, February 22, 2006 1:50 PM
  • to start a marquee style progress bar, type

    ------------------------------------

    progressbar1.Style = ProgressBarStyle.Marquee;

    progressbar1.MarqueeAnimationSpeed = 100;

    ------------------------------------

    to stop the marquee type

     

    ----------------------------

    progressbar1.MarqueeAnimationSpeed= 0;

    -----------------------------

     

    You may realize that the property "MarqueeAnimationSpeed" is also shown in the property window on windows forms also

    Wednesday, January 31, 2007 4:59 PM
  • Hie All,


    How can i set the marquee to stop at the end of the progress bar when it stop?

    is there any workaround for this??? Thanks thanks Smile

    Please help........

     

    Friday, July 27, 2007 8:13 PM
  • progressbar.visible = false;
    Friday, April 04, 2008 5:53 AM
  • AKS QUT is right. No need to over-complicate it
    Thursday, April 10, 2008 1:15 PM
  • I think his question is the same as mine: Is there any way to get an event when the progress bar reaches its minimum or maximum value? I was hoping to use it to make a progress bar that will go back and forth. Unfortunately, there does not appear to be such an event so I am exploring the use of a timer instead.

     

    Friday, July 11, 2008 7:09 PM
  • I couldn't get the Marquee progress bar working based on the above answers. Check out this post http://mycodelog.com/2010/02/11/busy/ for complete source code of this and demonstration of what works and what doesn't..


    -- Ali B
    Thursday, February 11, 2010 4:56 AM
  • thanks.

    bye to everyone

    Wednesday, June 20, 2012 6:07 PM