Placard.Enabled

From Xojo Documentation

Property (As Boolean )
aPlacard.Enabled = newBooleanValue
or
BooleanValue = aPlacard.Enabled

Supported for all project types and targets.

If True, draws a shaded border around the object; if False, the border is a line drawing and the placard is disabled.

Example

The following line disables the control. It is in the Open event.

Me.Enabled = False