Skip to main content
All docs
V26.1
  • TProgress.IndeterminateMode Property

    Specifies the active progress bar mode.

    Declaration

    property IndeterminateMode: TIndeterminateMode read; write; default TIndeterminateMode.None;

    Property Value

    Type Default Description
    TdxSplashFormBase.TProgress.TIndeterminateMode None

    The active progress bar mode.

    Remarks

    You can use the Progress Bar widget to display realtime lengthy progress while while a Splash or Wait Form is displayed (Progress Bar Mode). Alternatively, you can use the Progress Bar as an activity indicator with looped animation[1] (Indeterminate Mode).

    Property Usage Scenario

    Use the IndeterminateMode property to switch the Progress Bar widget between Progress Bar and Indeterminate modes.

    Available Options

    TdxSplashFormBase.TProgress.TIndeterminateMode.None

    Default. Progress Bar Mode. Looped animation is disabled. In this mode, you can use the Value property to manually display progress (as a position on a scale between MinValue and MaxValue) for a time-consuming process running while the parent Splash or Wait Form is displayed.

    VCL Shared Libraries: Progress Bar Mode

    TdxSplashFormBase.TProgress.TIndeterminateMode.Cyclic

    Indeterminate Mode is active, and the progress bar widget plays[1] a cyclic value change animation from MinValue to MaxValue while the parent Splash or Wait Form is displayed.

    VCL Shared Libraries: Progress Bar — A "Cyclic" Animation Example

    TdxSplashFormBase.TProgress.TIndeterminateMode.PingPong

    Indeterminate Mode is active, and the progress bar widget plays[1] a looped animation of the value moving back and forth between MinValue and MaxValue while the parent Splash or Wait form is displayed.

    VCL Shared Libraries: Progress Bar — A "Ping-Pong" Animation Example

    Default Value

    The IndeterminateMode property’s default value is TdxSplashFormBase.TProgress.TIndeterminateMode.None.

    Footnotes
    1. The Progress Bar Splash Form widget always plays selected animation in Indeterminate Mode, and the Animated property has no effect.

    See Also