Difference between revisions of "ColorGroup.AddNamedColor"
From Xojo Documentation
Line 1: | Line 1: | ||
+ | {{MethodBox | ||
+ | | name=AddNamedColor | ||
+ | | owner=[[ColorGroup]] | ||
+ | | ownertype=class | ||
+ | | scope=public | ||
+ | | parameters=platform as [[ColorGroup.Platforms]], name as [[Text]] | ||
+ | | project=Mobile (iOS) | ||
+ | | newinversion=2019r3 | ||
+ | }} | ||
+ | |||
{{MethodBox | {{MethodBox | ||
| name=AddNamedColor | | name=AddNamedColor | ||
Line 5: | Line 15: | ||
| scope=public | | scope=public | ||
| parameters=platform as [[ColorGroup.Platforms]], name as [[String]] | | parameters=platform as [[ColorGroup.Platforms]], name as [[String]] | ||
− | | project= | + | | project=Desktop |
| newinversion=2019r3 | | newinversion=2019r3 | ||
}} | }} | ||
+ | |||
{{Description | {{Description | ||
|text = Adds a named color to a color group. }} | |text = 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. |
Revision as of 15:55, 5 August 2020
Method
ColorGroup.AddNamedColor(platform as ColorGroup.Platforms, name as Text)
New in 2019r3
Supported on Mobile (iOS).
New in 2019r3
Supported on Mobile (iOS).
Method
ColorGroup.AddNamedColor(platform as ColorGroup.Platforms, name as String)
New in 2019r3
Supported on Desktop.
New in 2019r3
Supported on Desktop.
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.