ProgressBar_SetText
Description
Section titled “Description”Display a progress bar. Useful when running e.g. login scripts.
This function is not supported on Windows Vista and newer versions of Windows OS’s
Syntax
Section titled “Syntax”ProgressBar_SetText(sCaption, sText, iProgressBarPercent, bAlwaysOnTop) As Boolean
Parameters
Section titled “Parameters”sCaption (String)
Section titled “sCaption (String)”Caption of the form
sText (String)
Section titled “sText (String)”Text to display
iProgressBarPercent (Integer)
Section titled “iProgressBarPercent (Integer)”Amount of percent of the progress bar (0-100)
bAlwaysOnTop (Boolean)
Section titled “bAlwaysOnTop (Boolean)”If TRUE, the progressbar will always be topmost
Example
Section titled “Example”If bStatus Then bStatus = ProgressBar_SetText("Running loginscript for ACME Inc", "Mapping M: to \\server\share..", 30, True)