BorderStyleProperties.setTopBorderWidth

Sets the top border width, overriding property borderWidth. This is equivalent to the CSS border-top-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.topBorderWidth = "2px";
 controls.PANEL1.borderStyle = "solid";
 controls.PANEL1.borderColor = "black";
 controls.TEXT1.setTopBorderWidth("medium");
 

Parameters

java.lang.String  topBorderWidth,