FormComboBoxControl.border Method
Gets or sets the style of the border line for the control.
Syntax
public int border([int value])
Run On
Client
Parameters
- value
Type: int
The value to assign as the border style for the control; optional.
Return Value
Type: int
An integer between 0 (zero) and 4, inclusive.
Remarks
The integer that is returned contains the border style line as follows.
0 – Auto.
1 – 3D.
2 – Single line.
3 – Flat.
4 – None.
Examples
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);