Class ProgressBar
Inheritance
WinControl | ProgressBar 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object |
Properties
Max | The maximum positionvalue the progressbar can have. |
Min | The minimum positionvalue the progressbar can have. |
Position | The position of the progressbar. |
Step | The stepsize to step by when stepIt() is called. |
Methods
getMax () | Returns the Max property. |
getMin () | |
getPosition () | Returns the current position. |
setMax ( max ) | Sets the max property. |
setMin ( min ) | Sets the min property. |
setPosition ( pos ) | Sets the current position. |
setPosition2 ( pos ) | Sets the current position. |
stepBy ( steps ) | Increase the position by the given integer value. |
stepIt () | Increase position with "Step" size. |
Creation
createProgressBar ( owner ) | Creates a ProgressBar class object which belongs to the given owner. |
Inheritance
- WinControl
- ProgressBar 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object
Properties
- Max
-
The maximum positionvalue the progressbar can have.
(default 100)
Type:
integer - Min
-
The minimum positionvalue the progressbar can have.
(default 0)
Type:
integer - Position
-
The position of the progressbar.
Type:
integer - Step
-
The stepsize to step by when stepIt() is called.
Type:
integer
Methods
- getMax ()
-
Returns the Max property.
Returns:
-
integer
- getMin ()
-
Returns:
-
integer
- getPosition ()
-
Returns the current position.
Returns:
-
integer
- setMax ( max )
-
Sets the max property.
Parameters:
- max integer
- setMin ( min )
-
Sets the min property.
Parameters:
- min integer
- setPosition ( pos )
-
Sets the current position.
Parameters:
- pos integer
- setPosition2 ( pos )
-
Sets the current position.
Without slow progress animation on Win7 and later.
Parameters:
- pos integer
- stepBy ( steps )
-
Increase the position by the given integer value.
Parameters:
- steps integer
- stepIt ()
- Increase position with "Step" size.
Creation
- createProgressBar ( owner )
-
Creates a ProgressBar class object which belongs to the given owner.
Owner can be any object inherited from WinControl.
Parameters:
- owner WinControl
Returns: