DIAdem Help

Command: LoopInit

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

Display all  Hide all

Command: LoopInit

Initializes the progress bar with a percentage in the status bar. Use the LoopInc command to change the value of the progress bar.

Call LoopInit()

Input Parameters

None
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.

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: LoopInc | 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