Advances the progress bar current position by the increment specified by nPos.
Syntax: |
---|
DlxProgressBar.OffsetPos(nPos) |
Parameters
Parameter | Description |
---|---|
nPos | Amount to advance the position. |
Return Value
If the operation ends correctly, it returns true otherwise it returns false.
Example
Copy code | |
---|---|
var bar = DlxApp.GetProgressBar();
bar.Show("ProgressBar");
for (var i = 0; i < 100; i++)
{
bar.StepIt();
DlxApp.Delay(20);
}
|