This documentation is archived and is not being maintained.
FormComboBoxControl.border Method [AX 2012]
Gets or sets the style of the border line for the control.
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.
The integer that is returned contains the border style line as follows.
-
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);