ProgressBarStyle Property
Description
Gets or sets the style of the progress bar. This is used to display the progress bar and specifies whether the progress bar should be displayed in marquee mode or not.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property ProgressBarStyle() As [TaskDialogProgressBarStyle](XtremeSuiteControls~Enumerations~TaskDialogProgressBarStyle_EN.md)
Remarks
To display a progress bar, you must set ProgressBarStyle to xtpTaskProgressBarMarquee or xtpTaskProgressBarNormal. Setting ProgressBarStyle to xtpTaskProgressBarNone will remove the progress bar.
If using the marquee style, ProgressBarStyle must first be set to xtpTaskProgressBarMarquee and StartProgressBarMarquee must be called in the Constructed event before it can be turned on or off. After StartProgressBarMarquee is called in the Constructed event, you can freely use StartProgressBarMarquee anytime to start and stop the marquee.
The illustrations below show a progress bar that is in the process of scrolling using both the marquee and standard styles:


See Also
- TaskDialog Control
- StartProgressBarMarquee Method
- SetProgressBarRange Method
- ProgressBarPos Property
- EnableCallbackTimer Property
- Timer Event
- TaskDialogProgressBarStyle Enumeration
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.