LoadingBar
This is a classic loading bar, fully generated.
How to Initialize the Loading Bar?
The initialization of the Overlapping Tab is an one step process, just call the function Init of the class with its two arguments (see bellow for more details).
Class Details
Functions:
Initialization & Main Functions
Name |
Arguments |
Return |
Description |
Init |
|
VOID |
This function Initialized every part of the viewer: HMTL, CSS, Data, Events, etc... It will be generated in the defined ID and all HTML IDs used for this tab will start by the RegistryName defined in arguments |
SetPercent |
|
VOID |
Set the bar percent status (It will update CSS). |
Setters Functions
Name |
Arguments |
Return |
Description |
SetPositionAbsolute |
|
VOID |
Change CSS: Position to Absolute. Cancel SetPositionFixed(). |
SetPositionFixed |
|
VOID |
Change CSS: Position to Fixed. Cancel SetPositionAbsolute(). |
SetTop |
|
VOID |
Set the top distance of the loading bar. It remove the Bottom property. |
SetTopMiddle |
|
VOID |
Set the the loading bar position centered with the top property. It remove the Bottom property. |
SetBottom |
|
VOID |
Set the bottom distance of the loading bar. It remove the Top property. |
SetBottomMiddle |
|
VOID |
Set the the loading bar position centered with the bottom property. It remove the top property. |
SetLeft |
|
VOID |
Set the left distance of the loading bar. It remove the Right property. |
SetLeftMiddle |
|
VOID |
Set the the loading bar position centered with the left property. It remove the Right property. |
SetRight |
|
VOID |
Set the left distance of the loading bar. It remove the Left property. |
SetRightMiddle |
|
VOID |
Set the the loading bar position centered with the Right property. It remove the Left property. |
SetHeight |
|
VOID |
Change the loading bar height. |
SetWidth |
|
VOID |
Change the loading bar width. |
SetRounded |
|
VOID |
Round up (or remove) the loading bar edges. |
SetBackColor |
|
VOID |
Change the color of the inactive part of the loading bar. |
SetFontColor |
|
VOID |
Change the color of the active part of the loading bar. |
Private Details
All private details are usable but its recommended to not use any of those. It might modify the proper functioning of the class.
Variables (Members):
Main Members
Name |
Type |
Default Value |
Description |
height |
Integer |
20 |
The value in Integer of the height. |
heightType |
String |
"px" |
The CSS Type of the height size. |
width |
Integer |
200 |
The value in Integer of the width. |
widthType |
String |
"px" |
The CSS Type of the width size. |
id |
String |
undefined |
Global HMTL Id of the viewer (# + name). |
registryName |
String |
undefined |
Name of this Loading Bar. |
Functions:
Util Functions
Name |
Arguments |
Return |
Description |
GetBackDivID |
|
String |
return the ID of the back div (the inactive bar). |
GetFrontDivID |
|
String |
return the ID of the front div (the active bar). |
Compatibility
LANGUAGE CLASS: Not compatible.
Created with the Personal Edition of HelpNDoc: Easily create HTML Help documents