Placard.Value

From Xojo Documentation

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

Supported for all project types and targets.

If Enabled is True, Value shades the interior of the placard (Pressed state). If Enabled is True and Value is False, the interior is unshaded (Normal state).

Example

The following example toggles the Placard's shading. The code is in a PushButton.

Placard1.Value = Not(Placard1.Value)