BorderStyle Property

Applies To
Label, TextBox, ListBox, PictureBox, VideoBox, LED, ProgressBar, StatusBar, Grid

Description
Gets or sets the control's border style.

Usage

GGet Form.Control.BorderStyle, var  
GSet  Form.Control.BorderStyle, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name.
var
Integer variable that will contain the value of the property.
value
Integer expression for the new value of the property.

Values
0 - None
1 - FixedSingle
2 - Fixed3D

Default:

  • None (Label, PictureBox, VideoBox, LED)
  • Fixed3D (TextBox, ListBox)

Remarks
You can use this property to add a border to the control. For example, this property can be used to differentiate a Label that labels another control from a Label that displays the status of a process in an application.

See Also
Label, TextBox, ListBox, PictureBox, VideoBox, LED, ProgressBar, StatusBar

Example

GSet frmMain.lblStatus.BorderStyle, BORDERSTYLE_NONE