Border.Default

Syntax:

New Border(<BorderType>, <Thickness>)

Parameters:

<BorderType> (required)

Type: ControlBorderType.
Border type.

<Thickness> (optional)

Type: Number.
Border thickness (in logical units). If the parameter <BorderType> specifies the value WithoutBorder, then the maximum border thickness is 1.
Default value: 1.

Description:

Creates a border of the desired type and thickness.

Example:

Border = New Border(ControlBorderType.Double, 2);

    

1C:Enterprise Developer's Community