Border property

From Xojo Documentation

Property (As Double or Boolean )
aclass.Border = newDouble or BooleanValue
or
Double or BooleanValue = aclass.Border

Supported for all project types and targets.

Depending on the class, the Border is either a boolean that indicates whether or not it is visible or a Double that indicates its opacity.

Border As Double

fa-info-circle-32.png
Degrees of transparency is currently supported only on macOS and Windows. On other platforms, the border is either visible (100%) or invisible.
Object2D
ReportOvalShape
ReportRectangleShape
ReportRoundRectangleShape

Sample Code

The following code adds a border to an ArcShape:

Dim a As New ArcShape
a.ArcAngle = 1.57
a.StartAngle = -1.57
a.Border = 100
a.FillColor = RGB(255, 0, 127)
g.DrawObject(a, 100, 100)

Border As Boolean

If True, a border is drawn around the control.

ListBox New in 2008r3
MoviePlayer
TextEdit