Table of Contents
Images #
About #
GraffitiProgress is a cross-platform style-mimicking progress bar class. With styles for Windows, OS X, and Linux, your application will look right at home.
Features:
- Horizontal or Vertical Styling
- Filled or Blocked Styling
- Custom Percentage text
- Custom Percentage symbol
- Custom Color Properties
- Windows 9x Flat style
- Windows 9x 3D style
- Windows XP Style
- Mac OS X style
- KDE style
- Windows Vista style
- A custom gel style called “GelCore”
- A Dark style
- A Gradient style
Enumerations #
Name | Values |
---|---|
Directions | Horizontal Vertical |
FillStyles | Solid Blocked |
Styles | Win9xFlat Win9x3D WinXP MacOSX KDE WinVista GelCore Dark Gradient |
Constants #
Name | Type | Value |
---|---|---|
This class exposes no constants. |
Events #
Definition | Description |
---|---|
Open |
Methods #
Definition | Description |
---|---|
StyleCount() as Integer | |
StyleName( Index as Integer ) as String |
Properties #
Name | Type | Default Value | Description | |
---|---|---|---|---|
BGColorDark | Color | &c000000 | The dark background color of the control. | |
BGColorLight | Color | &c000000 | The light background color of the control. | |
Bold | Boolean | False | Determines the font weight of the text shown. | |
BorderColor | Color | &c000000 | Color used to draw the control’s border. | |
BorderRadius | Double | 1 | Determines the thickness of the control’s border. | |
CustomText | String | “” | Used for displaying text other than a numerical percentage. | |
Direction | Directions | Directions.Horizontal | Determines whether the control is drawn horizontally or vertically. | |
Italic | Boolean | False | Determines whether the text is displayed in italics. | |
MaximumValue | Integer | 100 | The maximum displayed value. | |
MinimumValue | Integer | 0 | The minimum displayed value. | |
PercentSign | String | “%” | Allows you to determine what text is displayed after the number value, ie: 50%, 50.00, 50#, 50!!!!YAY!!! | |
ProgressColorDark | Color | &c000000 | Dark color of the filled progress area. | |
ProgressColorLight | Color | &c000000 | Light color of the filled progress area. | |
ProgressStyle | FillStyles | FillStyles.Solid | Determines the visual appearance of the filled progress area. | |
ProgressTextColorDark | Color | &c000000 | Dark color of the progress text. | |
ProgressTextColorLight | Color | &c000000 | Light color of the progress text. | |
ProgressTextFont | String | “system” | Font face used to draw the progress text. | |
ProgressTextSize | Integer | 0 | Size of the font used to draw the progress text. | |
ShowProgressText | Boolean | True | Sets whether the control will show any progress text. | |
Style | Styles | Styles.Win9xFlat | Determines the visual style to be displayed. | |
Underline | Boolean | False | Sets the text decoration. | |
UseCustomScheme | Boolean | False | Determines whether the control will use custom colors | defined by the user, or the default schemes for each style. |
Value | Integer | 0 | Sets the numeric value of the control. Accepts integers from 0-100.\\To calculate percentage, use the following formula: (DoneSoFar / TotalToDo) * 100. |
Examples #
There are currently no examples for this class.