Windows Develop Bookmark and Share   
 index > Windows Forms General > Clearing of progressbar!!!!!!!!!!!!!!!!!!!!!!!!!
 

Clearing of progressbar!!!!!!!!!!!!!!!!!!!!!!!!!

How do I clear a progressbar so i can reset its value again???
I do not wan to change the value in the coding , i wan a way to type my code so i am able to clear my progressbar without changing the value i set to it.
At first i thought is progressbar.clear, but they don't have such statement
Heri Tony  Friday, October 02, 2009 3:08 AM
You could try setting the minimum (min?) property to the current value of the "value" property, that would probably clear the bar visually, but you would have to increase the maximum property and continue incrementing the value property from it's current value to be able to continue using the bar without resetting the value to 0.

Why do you not want to set the value back to zero (or min) ?
Yort  Friday, October 02, 2009 6:50 AM
You could try setting the minimum (min?) property to the current value of the "value" property, that would probably clear the bar visually, but you would have to increase the maximum property and continue incrementing the value property from it's current value to be able to continue using the bar without resetting the value to 0.

Why do you not want to set the value back to zero (or min) ?
Yort  Friday, October 02, 2009 6:50 AM

You can use google to search for other answers

Custom Search

More Threads

• WebBrowser URL
• change the font on a ContextMenu
• ToolStripProfessionalRenderer
• retrieving connection string
• Controling an Excel spreadsheet in a Windows form control
• rdf graph
• Cursor related with color
• Render Bug?
• using selection formula date type field in crystal reports
• Setting the bottom right space for custom HScrollbar and VScrollBar like in Panel.Autoscroll=true