forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolorWorld.lcdoc
More file actions
42 lines (28 loc) · 1.13 KB
/
Copy pathcolorWorld.lcdoc
File metadata and controls
42 lines (28 loc) · 1.13 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
33
34
35
36
37
38
39
40
41
Name: colorWorld
Type: property
Syntax: get the colorWorld
Summary:
Reports whether the screen is set to use color.
Introduced: 1.0
OS: mac, windows, linux
Platforms: desktop, server
Example:
if the colorWorld then showColorIcons
Value (bool):
The <colorWorld> is true or false.
The <colorWorld> <property> is <read-only> and cannot be set.
Description:
Use the <colorWorld> <property> to determine whether the screen is color
or <black-and-white>.
If the <colorWorld> <property> reports true, the screen is using color
or grayscale. If the <colorWorld> is false, the screen is
<black-and-white>.
If the system has more than one monitor, the <colorWorld> <property>
reports the color status of the main screen.
The value returned by the <colorWorld> function is updated only when you
start up the <application>. If you change the screen settings after
starting up the <application>, you must quit and restart to update the
<colorWorld>.
References: screenDepth (function), screenColors (function),
property (glossary), application (glossary), black-and-white (glossary),
read-only (glossary), bufferMode (property), colorMap (property)