Progress Bar
- Last UpdatedJun 28, 2024
- 2 minute read
Basic
|
Property |
Scripting Supported |
Example |
|---|---|---|
|
Name |
Yes Writable Readable |
To set the property control.findById("ID").tagName = To get the value of the property control.findById("ID").tagName; |
|
XML Node |
Yes Readable |
To get the value of the property control.findById("ID").xmlNodeBoundTo; |
|
Description |
Yes Writable Readable |
To set the property control.findById("ID").description = "Value for Description"; To get the value of the property control.findById("ID").description; |
|
Lookup Source |
No |
Not Applicable |
|
Unit of Measurement |
Yes Writable Readable |
To set the property control.findById("ID").progressBarUom="%";
To get the value of the property control.findById("ID").progressBarUom; |
|
Target Value |
Yes Writable Readable |
To set the property control.findById("ID").progressBarTargetValue=60;
To get the value of the property control.findById("ID").progressBarTargetValue; |
|
Default Value |
Yes Writable Readable |
To set the property control.findById("ID").value=0;
To get the value of the property control.findById("ID").value; |
Appearance
|
Property |
Scripting Supported |
Script |
|---|---|---|
|
Visible |
Yes Writable Readable |
To set the property control.findById("ID").visible = true; To get the value of the property control.findById("ID").visible; |
|
Label Position |
No |
Not Applicable |
|
Label-Control Area |
No |
Not Applicable |
|
Width |
No |
Not Applicable |
|
Retain Space |
No |
Not Applicable |
|
Title |
Yes Writable Readable |
To set the property control.findById("ID").progressBarTitle = To get the value of the property control.findById("ID").progressBarTitle; |
|
Decimal Places |
Yes Writable Readable |
To set the property control.findById("ID").progressBarDecimalPlaces=3;
To get the value of the property control.findById("ID").progressBarDecimalPlaces; |
|
Scale |
No |
Not Applicable |
|
Scale Minimum Value |
Yes Writable Readable |
To set the property
control.findById("ID").progressBarScaleMinValue=0;
To get the value of the property
control.findById("ID").progressBarScaleMinValue; |
|
Scale Maximum Value |
Yes Writable Readable |
To set the property
control.findById("ID").progressBarScaleMaxValue=0;
To get the value of the property
control.findById("ID").progressBarScaleMaxValue; |
|
Control Background Color |
No |
Not Applicable |
|
Background Color |
No |
Not Applicable |
|
Bar Color |
No |
Not Applicable |
|
Range |
Yes |
To set the property control.findById(“ID”).options=[{optionvalue:20,foreColor:"red"},{optionvalue:60,foreColor:"green"}];
To get the value of optionvalue property of the first element control.findById(“ID").options[0].optionvalue To get the value of foreColor property of the first element control.findById(“ID").options[0].foreColor Note: The Options property exposed in scripting is used for the Range property. |
|
Custom Style Sheet Identifier |
No |
Not Applicable |
Advanced
|
Property |
Scripting Supported |
Example |
|---|---|---|
|
On Initialize |
Yes |
For more information, see scripting guidelines for On Initialize property. |
|
Enable Refresh |
No |
Not Applicable |
|
Refresh Rate |
No |
Not Applicable |
|
ID |
No |
Not Applicable |
Scripts
|
Property |
Scripting Supported |
Example |
|---|---|---|
|
Name |
Yes |
return "Value for Name"; |
|
Description |
Yes |
return "Value for Description"; |
|
Visible |
Yes |
return true; |
|
Value |
Yes |
return 90; |