>>--addProgressBar(--id--,--x--,--y--,--cx--,--cy-+-----------+--)-------------><
+--,-style--+
The addProgressBar method adds a progress bar to the dialog and connects it with a data attribute. For further information on progress bar controls, refer to ProgressBar Class.
The arguments are:
The resource ID for the progress bar.
The control coordinates.
A list of 0 or more of the following style keywords separated by spaces.
| VERTICAL | HIDDEN | GROUP |
| SMOOTH | DISABLED | TAB |
| MARQUEE | BORDER |
The progress bar is orientated vertically. The default orientation is horizontal.
The progress is displayed in a smooth scrolling bar rather than the default segmented bar. This style is only displayed when Windows classic theme is in effect. All other themes over-ride this style.
The progress bar moves like a marquee. This method requires Common Control Library version 6.0 or later.
The not visible window style.
The not enabled window style.
The border window style.
The group control style.
The tabstop control style.
The possible return values are:
Success.
Error with the in-memory dialog template or with the resource ID.
The following example creates a progress bar with ID DONE at the bottom of the dialog. The progress bar is as wide as the dialog.
MyDialog~addProgressBar("DONE",10,MyDialog~sizey-16,MyDialog~sizex-20,12)