Line.Visible

From Xojo Documentation

Property (As Boolean )
aLine.Visible = newBooleanValue
or
BooleanValue = aLine.Visible

Supported for all project types and targets.

Gets or sets the visibility of the line. If True, the line is visible; if False, it is invisible.