BorderWidth - property of the PmgBox object
Description:
Width of the box border (in pixels). Value 0 means no border.
Note:
Property access
for read and write.
The default value of this property is defined in the "
Border width" configurator of this object.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oBox = pMe.Items("/Box");
var nBorderWidth = oBox.BorderWidth;
// Reading from the property
oBox.BorderWidth = 2;
// Writing into the property
Dim oBox
Set oBox = pMe.Items("/Box")
Dim nBorderWidth
nBorderWidth = oBox.BorderWidth
' Reading from the property
oBox.BorderWidth = 2
' Writing into the property