ProgressBar Interface Reference

A ProgressBar control visually indicates the progress of a operation. More...

Inheritance diagram for ProgressBar:

Inheritance graph
Collaboration diagram for ProgressBar:

Collaboration graph
List of all members.

Properties

VARIANT_BOOL RW Vertical []
 When true, the progress bar displays progress status vertically.
VARIANT_BOOL RW Smooth []
 When true, the progress bar displays progress status in a smooth scrolling bar instead of the segmented bar.
LONG RW State []
 Gets or sets the state of the progress bar.
VARIANT_BOOL RW Marquee []
 If "TRUE" then the progress indicator does not grow in size but instead moves repeatedly along the length of the bar, indicating activity without specifying what proportion of the progress is complete.
VARIANT_BOOL RW MarqueeActive []
 Marquee must be "TRUE".
ULONG RW MarqueeInterval []
 Marquee must be "TRUE".
VARIANT_BOOL RW SmoothReverse []
 If "TRUE" then a smooth transition occurs when progress position moves backward.
ULONG RW BarColor []
 Specifies the color of the progress bar.

Detailed Description

A ProgressBar control visually indicates the progress of a operation.

When the control's value changes, the OnChange event occur.

See also the method CreateProgressBar of the Frame.

Properties

Example:

o = new ActiveXObject("Scripting.WindowSystemObject")
o.EnableVisualStyles = true

f = o.CreateForm(0,0,0,0)

f.Text = "WSO"
f.ClientWidth = 320
f.ClientHeight = 80
f.CenterControl()

ProgressBar = f.CreateProgressBar(10,10,300,25)
ProgressBar.Max = 300
ProgressBar.Min = 100
ProgressBar.Position = 230

f.Show()

o.Run()

Result:
ProgressBar.jpg


Property Documentation

ULONG RW BarColor

Specifies the color of the progress bar.

Themes (Themes) must not be enabled. Default value: COLOR_NONE

Since:
1.1.17.

VARIANT_BOOL RW Marquee

If "TRUE" then the progress indicator does not grow in size but instead moves repeatedly along the length of the bar, indicating activity without specifying what proportion of the progress is complete.

Default value: "FALSE"

Since:
1.1.16.
Requires Comctl32.dll version 6. Requires visual styles (Themes).

VARIANT_BOOL RW MarqueeActive

Marquee must be "TRUE".

If "TRUE" then the marquee animation is enabled.

Default value: "TRUE"

Since:
1.1.16.
Requires Comctl32.dll version 6. Requires visual styles (Themes).

ULONG RW MarqueeInterval

Marquee must be "TRUE".

Defines marquee animation update interval when MarqueeActive = "TRUE".

Default value: 0, means that the marquee animation is updated every 30 milliseconds.

Since:
1.1.16.
Requires Comctl32.dll version 6. Requires visual styles (Themes).

VARIANT_BOOL RW Smooth

When true, the progress bar displays progress status in a smooth scrolling bar instead of the segmented bar.

Default value: "FALSE"

Note:
This property is supported only in the Windows Classic theme.

VARIANT_BOOL RW SmoothReverse

If "TRUE" then a smooth transition occurs when progress position moves backward.

Default value: "FALSE"

Since:
1.1.16.
Requires Comctl32.dll version 6. Requires visual styles (Themes). Windows Vista or later required.

LONG RW State

Gets or sets the state of the progress bar.

This parameter can be a one of the following values:

Note:
Windows Vista or later required.
Since:
1.1.16.

VARIANT_BOOL RW Vertical

When true, the progress bar displays progress status vertically.

Default value: "FALSE"


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:13:00 2015. (C) Veretennikov A. B. 2004-2015