ColorGroup.AddNamedColor
From Xojo Documentation
Method
ColorGroup.AddNamedColor(platform as ColorGroup.Platforms, name as String)
New in 2019r3
Supported on Desktop.
New in 2019r3
Supported on Desktop.
Method
ColorGroup.AddNamedColor(platform as ColorGroup.Platforms, name as Text)
New in 2019r3
Supported on Mobile (iOS).
New in 2019r3
Supported on Mobile (iOS).
Adds a named color to a color group.
Notes
On iOS if you provide a name for a color that is not supported on the device, the appropriate color as defined in iOS 13 will be returned.