Share via


SysOperationProgressBase.setText Method [AX 2012]

Sets a description of the process that is currently occurring.

Syntax

public void setText(SysProgressTxt _text, [int _idx])

Run On

Called

Parameters

  • _idx
    Type: int
    The bar to set the text for; optional. Only should be used when you have more than one bar.

Examples

static void example(Args _args) 
{ 
    SysOperationProgress progress = new SysOperationProgress(); 
    boolean still_work_todo; 
     
    while (still_work_todo) 
    { 
        progress.incCount(); 
        progress.setText("This is what I do"); 
        do_the_job(); 
    } 
}

See Also

SysOperationProgressBase Class

SysOperationProgressBase.incCount Method

SysOperationProgressBase.setCount Method

SysOperationProgressBase.update Method