Difference between revisions of "ColorGroup.AddNamedColor"

From Xojo Documentation

 
Line 4: Line 4:
 
| ownertype=class
 
| ownertype=class
 
| scope=public
 
| scope=public
| parameters=platform as [[ColorGroup.Platforms]], name as [[Text]]
+
| parameters=platform as [[ColorGroup.Platforms]], name as [[String]]
| project=Mobile (iOS)
+
| project=Desktop
 
| newinversion=2019r3
 
| newinversion=2019r3
 
}}
 
}}
Line 14: Line 14:
 
| ownertype=class
 
| ownertype=class
 
| scope=public
 
| scope=public
| parameters=platform as [[ColorGroup.Platforms]], name as [[String]]
+
| parameters=platform as [[ColorGroup.Platforms]], name as [[Text]]
| project=Desktop
+
| project=Mobile (iOS)
 
| newinversion=2019r3
 
| newinversion=2019r3
 
}}
 
}}

Latest revision as of 17:05, 5 August 2020

Method

ColorGroup.AddNamedColor(platform as ColorGroup.Platforms, name as String)

New in 2019r3

Supported on Desktop .


Method

ColorGroup.AddNamedColor(platform as ColorGroup.Platforms, name as Text)

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.