ColorGroup.NamedColor
From Xojo Documentation
Shared Method
Returns the specified named color.
Notes
Raises these exceptions:
- UnsupportedOperationException on platforms that don't support named colors.
- InvalidArgumentException when passing a name that isn't available on the current platform.
Sample Code
Set the label color:
Me.TextColor = ColorGroup.NamedColor("labelColor")