BarColor - property of the PmgBar object
Note:
Property access
for read and write.
The default value of this property is defined in the "
Bar color" configurator of this object.
The property returns or sets the
RGB String in the form
"#RRGGBB".
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oBar = pMe.Items("/Bar0");
var sColorBg = oBar.BarColor;
// Reading from the property
oBar.BarColor = "#0000ff";
// Writing into the property
Dim oBar
Set oBar = pMe.Items("/Bar0")
Dim sColorBg
sColorBg = oBar.BarColor
' Reading from the property
oBar.BarColor = "#0000ff"
' Writing into the property