You are here: Symbol Reference > JSDialog Namespace > Classes > TJSProgress Class > TJSProgress Properties > TJSProgress.UseNativeProgressBar Property
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSProgress.UseNativeProgressBar Property

Determines if the dialog should use the native progress bar if possible.

Pascal
property UseNativeProgressBar: Boolean;

Set the UseNativeProgressBar property to False to always use the TJSProgressBar control. The advantage of not using the native progress bar is when you display a marquee. The marquee style in TJSProgressBar is threaded which means that even in a long running progress, updates are visible. This is not the case with the native progress bar control.

When the progress bar of a dialog is to be shown as a marquee (DialogOptions contains doProgressBarMarquee) then the minimum operating system for using the native progress bar is Windows XP. If the operating system is earlier than Windows XP then the TJSProgressBar control is always used.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!