forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolorNames.lcdoc
More file actions
32 lines (18 loc) · 1.43 KB
/
colorNames.lcdoc
File metadata and controls
32 lines (18 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Name: colorNames
Type: function
Syntax: the colorNames
Syntax: colorNames()
Summary: <return|Returns> a list of the color names you can use in <Revolution|LiveCode>.
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
the colorNames
Example:
if field "Color" is not among the lines of the colorNames then beep
Returns: The <colorNames> function <return|returns> a list of color names, one per line.
Description:
Use the <colorNames> <property> to check whether a particular color name can be used to specify <properties> such as <foregroundColor> and <backgroundColor>.
You can use the color names with the foregroundColor, <backgroundColor>, <focusColor>, <topColor>, <bottomColor>, <hiliteColor>, <borderColor>, <shadowColor>, <selectionHandleColor>, <accentColor>, <backdrop>, <brushColor>, and <penColor> <properties>.
References: hiliteColor (property), shadowColor (property), foregroundColor (property), linkHiliteColor (property), HTMLText (property), borderColor (property), penColor (property), focusColor (property), brushColor (property), properties (property), backdrop (property), bottomColor (property), backgroundColor (property), accentColor (property), topColor (property), linkColor (property), selectionHandleColor (property), is a (operator), answer color (command), propertyNames (function), functionNames (function), property (glossary), Revolution (glossary), return (glossary)
Tags: ui