GraffitiProgress

Events

Open
Fires when GraffitiProgress is created.

Methods

StyleCount() as Integer
Returns the number of styles available for display

StyleName( Index as Integer ) as String
Returns the name for the style corresponding to Index.

Properties

BGColorDark as Color
The dark background color of the control.

BGColorLight as Color
The light background color of the control.

Bold as Boolean
Determines the font weight of the text shown.

BorderColorDark as Color
Sets the dark border color.

BorderColorLight as Color
Determines the light border color.

CustomText as String
Used for displaying text other than a numerical percentage.

Direction as Integer
Determines whether the control is drawn horizontally or vertically.
Valid Values:
Horizontal(0)
Vertical(1)

Italic as Boolean
Determines whether the text is displayed in italics.

PercentSign as String
Allows you to determine what text is displayed after the number value, ie: 50%, 50.00, 50#, 50!!!!YAY!!!

ProgressColorDark as Color
Dark color of the filled progress area.

ProgressColorLight as Color
Light color of the filled progress area.

ProgressStyle as Integer
Determines the visual appearance of the filled progress area.
Valid Values:
Filled(0)
Blocked(1)

ProgressTextColorDark as Color
Dark color of the progress text.

ProgressTextColorLight as Color
Light color of the progress text.

ProgressTextFont as String
Font face used to draw the progress text.

ProgressTextSize as Integer
Size of the font used to draw the progress text.

ShowProgressText as Boolean
Sets whether the control will show any progress text.

Style as Integer
Determines the visual style to be displayed.
Valid Values:
Win 9x Flat(0)
Win 9x 3D(1)
Win XP(2)
Mac OSX(3)
KDE(4)
WinVista(5)
GelCore(6)

Underline as Boolean
Sets the text decoration.

UseCustomScheme as Boolean
Determines whether the control will use custom colors as defined by the user, or the default schemes for each style.

Value as Integer
Sets the numeric value of the control. Accepts integers from 0-100.
To calculate percentage, use the following formula: (DoneSoFar / TotalToDo) * 100.