Share via


SysOperationProgress::newGeneral Method [AX 2012]

Constructs an instance of the SysOperationProgress class as a single-bar progress indicator.

Syntax

client server public static SysOperationProgress newGeneral(
    Filename animation, 
    Caption caption, 
    int64 total, 
   [int textLength])

Run On

ClientOrServer

Parameters

  • total
    Type: int64
    The total progress count.
  • textLength
    Type: int
    The maximum length (in characters) for the progress text before the text wraps to an additional line; optional.

Return Value

Type: SysOperationProgress Class
The new instance of the SysOperationProgress class.

See Also

SysOperationProgress Class

SysOperationProgress::newMultiBar Method

SysOperationProgress.setAnimation Method