Enables or disables the progress bar.
Syntax: |
---|
DlxProgressBar.Enable(bEnable) |
Parameters
Parameter | Description |
---|---|
bEnable | Enter true to enable the progress bar or false to disable it. |
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);
}
|