forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdisable.lcdoc
More file actions
31 lines (18 loc) · 916 Bytes
/
disable.lcdoc
File metadata and controls
31 lines (18 loc) · 916 Bytes
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
Name: disable
Type: command
Syntax: disable <object>
Summary: Dims a <control> so that it no longer responds to user actions.
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
disable field 1
Example:
disable button 2 of card 7 of stack "Overall Controls"
Parameters:
object: Any control in an open stack.
Description:
Use the <disable> <command> to prevent an <object> from responding to mouse clicks or keyboard presses.
The <disable> <command> is equivalent to setting the <object|object's> <disabled> <property> to true.
References: cantSelect (property), visible (property), disabledIcon (property), enabled (property), lockText (property), disabled (property), invisible (property), traversalOn (property), control (keyword), enable (command), disable menu (command), hide (command), object (object), command (glossary), property (glossary)
Tags: ui