From Xojo Documentation

Revision as of 19:02, 2 August 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Boolean )
aPlacard.Value = newBooleanValue
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).


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

Placard1.Value = Not(Placard1.Value)