Border Property

The Border property specifies the type of border that appears on a control.

You can also set this property using a Cascading Style Sheet. For more information, see Using Cascading Style Sheets.

Applies to: Edit boxes, frames, group boxes, HTML Objects, HTML Tables, images, Java applets, menus, multi-edit boxes, radio buttons, and text.

Setting dynamically:

Winform Set form.control.BORDER TO n;

Property Settings for edit box, multi-edit box, menu, frame:

0 - No

Displays no border.

1 - Yes

Displays a border (default for menu).

Default

Displays border according to cascading style sheet (css) settings. If nothing is set, the default settings of the browser are used (default for edit box, multi-edit box, frame; not available for menu).

Property Settings for HTML Object, HTML Table, image, radio button, text, group box, Java applet:

0 - None

Displays no border.

1 - Normal

Displays a flat border.

2 - 3D

Displays a border with a 3-dimensional effect (default for HTML Table).

3 - Sunken

Displays a shadow on the upper left side of the border that appears to be etched into the form.

4 - Raised

Displays a shadow on the lower right side of the border that appears to be etched into the form (not available for group box).

Default

Displays border according to css settings. If nothing is set, the default settings of the browser are used (default for HTML Object, image, radio button, text, group box, Java applet; not available for HTML Table).


WebFOCUS