Project: VB6GUI
Version: 3.0.0
Report Date: 08/06/2023 12:06:14
By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cProgressBar
Properties
Appearance [Get] - Public (Return Datatype: EVPRGAppearanceConstants)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the border appearance of the control. Not applicable when using XPStyle. |
Appearance [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
eAppearance |
EVPRGAppearanceConstants |
BackColor [Get] - Public (Return Datatype: OLE_COLOR)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the back colour of the control. Not applicable when using XPStyle. |
BackColor [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
oColor |
OLE_COLOR |
BackPictureMode [Get] - Public (Return Datatype: EVPRGPictureModeConstants)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the drawing mode (stretch or tile) applied when drawing the background picture. |
BackPictureMode [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
eMode |
EVPRGPictureModeConstants |
BarColor [Get] - Public (Return Datatype: OLE_COLOR)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the colour of the progress bar. Not applicable when using XPStyle. |
BarColor [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
oColor |
OLE_COLOR |
BarForeColor [Get] - Public (Return Datatype: OLE_COLOR)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the colour of text which is drawn over the bar. |
BarForeColor [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
oColor |
OLE_COLOR |
BarPicture [Get] - Public (Return Datatype: IPicture)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets a picture to use as the bar in the progress bar. |
BarPicture [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
pic |
IPicture |
BarPicture [Set] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
pic |
IPicture |
BarPictureMode [Get] - Public (Return Datatype: EVPRGPictureModeConstants)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the drawing mode (stretch or tile) applied when drawing the bar picture. |
BarPictureMode [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
eMode |
EVPRGPictureModeConstants |
BorderStyle [Get] - Public (Return Datatype: EVPRGBorderStyleConstants)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the border style of the control. Not applicable when using XPStyle. |
BorderStyle [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
eStyle |
EVPRGBorderStyleConstants |
Font [Get] - Public (Return Datatype: IFont)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the font used to draw text on the progress bar. |
Font [Set] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByRef |
fnt |
IFont |
Font [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByRef |
fnt |
IFont |
ForeColor [Get] - Public (Return Datatype: OLE_COLOR)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the colour of text which is drawn over the background of the bar. |
ForeColor [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
oColor |
OLE_COLOR |
Max [Get] - Public (Return Datatype: Long)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the maximum value of the bar. |
Max [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
lMax |
Long |
Min [Get] - Public (Return Datatype: Long)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the minimum value of the bar. |
Min [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
lMin |
Long |
Percent [Get] - Public (Return Datatype: Double)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets the current progress bar percentage complete. |
Picture [Get] - Public (Return Datatype: IPicture)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the picture shown in the background of the progress bar control. |
Picture [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
pic |
IPicture |
Picture [Set] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
pic |
IPicture |
Segments [Get] - Public (Return Datatype: Boolean)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets whether the bar is split into segments. Not applicable when XPStyle is set. |
Segments [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
bState |
Boolean |
ShowText [Get] - Public (Return Datatype: Boolean)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets whether text is shown over the bar. |
ShowText [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
bState |
Boolean |
Text [Get] - Public (Return Datatype: String)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the text to display when ShowText is set. |
Text [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
sText |
String |
TextAlignX [Get] - Public (Return Datatype: EVPRGHorizontalTextAlignConstants)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the horizontal alignment of the text. |
TextAlignX [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
eAlign |
EVPRGHorizontalTextAlignConstants |
TextAlignY [Get] - Public (Return Datatype: EVPRGVerticalTextAlignConstants)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the vertical alignment of the text. |
TextAlignY [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
eAlign |
EVPRGVerticalTextAlignConstants |
value [Get] - Public (Return Datatype: Long)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets the value of the bar. |
value [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
lValue |
Long |
XpStyle [Get] - Public (Return Datatype: Boolean)
No Parameters
Procedure Attributes
Attribute | Value |
Description | Gets/sets whether the bar is displayed using XP Visual Styles. Only valid on XP systems or above. |
XpStyle [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
bState |
Boolean |
Functions
ModifyBarPicture - Public (Return Datatype: Variant)
Optional | ByVal/ByRef | Variable | Datatype |
Optional |
ByVal |
fLuminance |
Double(1) |
Optional |
ByVal |
fSaturation |
Double(1) |
Procedure Attributes
Attribute | Value |
Description | Applies image processing to the bar picture, allowing you to adjust the luminance or saturation of the image. |
ModifyPicture - Public (Return Datatype: Variant)
Optional | ByVal/ByRef | Variable | Datatype |
Optional |
ByVal |
fLuminance |
Double(1) |
Optional |
ByVal |
fSaturation |
Double(1) |
Procedure Attributes
Attribute | Value |
Description | Applies image processing to the background picture, allowing you to adjust the luminance or saturation of the image. |
Event Declares
Draw - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
hdc |
Long |
|
ByVal |
lLeft |
Long |
|
ByVal |
lTop |
Long |
|
ByVal |
lWidth |
Long |
|
ByVal |
lHeight |
Long |
|
ByVal |
bDoDefault |
Boolean |