BorderStyle Property
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Specifies the border character scheme for a form or control; read-only at
run time for form and text box control.
[form.][label. | picturebox. | textbox.]BorderStyle[ = setting%]
■ setting% Valid settings are:
Form
Values Meaning Description
══════ ══════════════ ══════════════════════════════════════════
0 None Not sizable, no caption displayed, no
Minimize or Maximize buttons; no Control-
menu box, no title bar.
1 Fixed Single Sizable only with Maximize or Minimize
buttons; optional Control-menu box, title
bar, Maximize and Minimize buttons.
2 Sizable Single (Default) Border can be resized with any
optional border elements listed above.
3 Fixed Double Not sizable; optional Control-menu box,
optional title bar; no Minimize or
Maximize buttons.
4 Sizable Double
5 Fixed Solid
6 Sizable Solid
Control
Values Meaning Description
═══════ ══════════════ ══════════════════════════════════════════
0 None (Default - label)
1 Single Line (Default - text box and picture box)
2 Double Line
Applies To
◄Form► ◄Label Control►
◄Picture Box Control► ◄Text Box Control►
See Also
◄Caption Property► ◄ControlBox Property►
◄MinButton Property► ◄MaxButton Property►