Command: LoopInit
- Updated2024-09-12
- 2 minute(s) read
Command: LoopInit
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.
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.
| VBScript | Python |
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

