BorderStyleProperties.setBorderWidth

Sets the border width applied to all four borders. This property is effective only when the leftBorderWidth, rightBorderWidth, topBorderWidth and bottomBorderWidth properties are all not specified. This is equivalent to the CSS border-width property, and any valid value for this CSS property can be used when setting a value. Setting this property to null removes any existing value.

Note that for a border to be visible, the borderStyle and borderColor properties are also required.

Examples:

 controls.PANEL1.borderWidth = "2px";
 controls.PANEL1.borderStyle = "solid";
 controls.PANEL1.borderColor = "black";
 controls.TEXT1.setBorderWidth("medium");
 

Parameters

java.lang.String  borderWidth,