DIAdem Help

Command: LoopInc

  • Updated2024-09-12
  • 2 minute(s) read

Display all  Hide all

Command: LoopInc

Modifies the percentage of the progress bar in the status bar. For example, if you assign the value 50 to the LoopLength parameter, DIAdem shows only half of the progress bar. Use the LoopInit command to initialize the progress bar and the LoopDeInit command to terminate the progress bar.

Call LoopInc(LoopLength)

Input Parameters

LoopLength Specifies the percentage of the progress bar in the status bar. Valid values range between 1 and 100.
Note  While controlling the progress display with the LoopInc command, DIAdem suppresses the progress display of other DIAdem commands.

Example

The following example loops through 100 times and displays the progress bar of the progress display in the status bar.

VBScriptPython

 

Dim intLoop
Call LoopInit()
For intLoop= 1 To 100
  Call LoopInc(intLoop)
  Call Pause(0.1)
Next
Call LoopDeInit()

Related Topics

Command: AutoLoopInit | Command: LoopDeInit | Command: LoopInit | Command: MsgBoxCancel | Command: MsgBoxDisp | Command: MsgBoxSetPos | Command: MsgBoxStateResetAll | Command: MsgButtonTextSet | Command: MsgLineDisp | Command: ProcessMessages | Variable: MsgButtonType | Variable: MsgNotModal | Variable: MsgState | Variable: MsgStdButton | Variable: MsgText | Variable: MsgTimeOut | Variable: MsgType