BorderStyle: ControlBorderStyle;
The BorderStyle property determines the style of component border.
Executing the example requires a form with the following components: the Button component named Button1 and the MapBox component named MapBox1.
The example is a handler of the OnClick event for the Button1 component.
Add links to the ExtCtrls, Forms, and Map system assemblies.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
MapBox1.BorderStyle:=ControlBorderStyle.Single;
End Sub Button1OnClick;
After executing the example the border of the MapBox1 component is displayed in 3D.
See also: