Download Now

    Reference TIndeterminateProgress

    Declared in Codebot.Controls.Extras.pas on line 211

    TIndeterminateProgress shows a status icon next to its caption, animating a busy icon while the status is psBusy
      TIndeterminateProgress = class(TSurfaceGraphicControl)
      protected
        procedure Notification(AComponent: TComponent; Operation: TOperation); override;
        procedure Draw; override;
        procedure FontChanged(Sender: TObject); override;
        procedure TextChanged; override;
      public
        { Create a new progress indicator }
        constructor Create(AOwner: TComponent); override;
        destructor Destroy; override;
      published
        { The current status }
        property Status: TProgressStatus read FStatus write SetStatus default psReady;
        { Animation frames shown while busy, or nil to use the defaults }
        property BusyImages: TImageStrip read FBusyImages write SetBusyImages;
        { Status icons starting with psReady, or nil to use the defaults }
        property StatusImages: TImageStrip read FStatusImages write SetStatusImages;
        { Milliseconds between busy animation frames }
        property BusyDelay: Cardinal read GetBusyDelay write SetBusyDelay default 30;
        { Where the icon is placed relative to the text }
        property IconPosition: TIconPosition read FIconPosition write SetIconPosition default icNear;
        { When not empty this text is shown with the help icon instead of the
          caption }
        property Help: string read FHelp write SetHelp;
        property Align;
        property Anchors;
        property BidiMode;
        property BorderSpacing;
        property Caption;
        property Constraints;
        property DragCursor;
        property DragKind;
        property DragMode;
        property Font;
        property ParentBidiMode;
        property ParentFont;
        property ParentShowHint;
        property PopupMenu;
        property ShowHint;
        property Visible;
        property OnChangeBounds;
        property OnClick;
        property OnContextPopup;
        property OnDblClick;
        property OnDragDrop;
        property OnDragOver;
        property OnEndDrag;
        property OnMouseDown;
        property OnMouseEnter;
        property OnMouseLeave;
        property OnMouseMove;
        property OnMouseUp;
        property OnMouseWheel;
        property OnMouseWheelDown;
        property OnMouseWheelUp;
        property OnResize;
        property OnStartDrag;
      end;

    See also

    TImageStrip in Codebot.Graphics.pas
    TSurfaceGraphicControl in Codebot.Controls.pas