Partilhar via


FormComboBoxControl.border Method

Definition

Overloads

border()

Gets or sets the style of the border line for the control.

border(Int32)

border()

Gets or sets the style of the border line for the control.

public:
 virtual int border();
public virtual int border ();
abstract member border : unit -> int
override this.border : unit -> int
Public Overridable Function border () As Integer

Returns

An integer between 0 (zero) and 4, inclusive.

Remarks

The integer that is returned contains the border style line as follows.

Value Border style
0 Auto
1 3D
2 Single line
3 Flat
4 None

The following example shows how to retrieve and set the border style for a control.

// Retrieve the border style. 
info (strfmt("border: %1", this.border())); 
// Set the border style. 
this.border(2);

Applies to

border(Int32)

public:
 virtual int border(int _value);
public virtual int border (int _value);
abstract member border : int -> int
override this.border : int -> int
Public Overridable Function border (_value As Integer) As Integer

Parameters

_value
Int32

The value to assign as the border style for the control; optional.

Returns

Applies to