This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathautoHilite.lcdoc
More file actions
73 lines (52 loc) · 2.57 KB
/
autoHilite.lcdoc
File metadata and controls
73 lines (52 loc) · 2.57 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Name: autoHilite
Synonyms: autohilight
Type: property
Syntax: set the autoHilite of {<button> | <field>} to {true | false}
Summary:
Specifies whether a <button> <highlight|highlights> when it's pressed,
or whether <selected> text in a <field> is <highlight|highlighted>.
Associations: button
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
set the autoHilite of last button to false
Example:
if the autoHilite of me is false then beep
Value (bool):
The <autoHilite> of a <button> or <field> is true or false.
Description:
Use the <autoHilite> <property> to give visual feedback to users when
they click a <field(keyword)> or <button(keyword)>.
If a button's <autoHilite> <property> is true, clicking it changes its
appearance. This provides visual feedback to the user. (The exact change
in appearance depends on the <style> <property> of the <button(keyword)>
and on the current setting of the <lookAndFeel> <property>.)
The button remains highlighted while the mouse is within it and the
mouse button is down. If the user moves the mouse outside the button
while keeping the mouse button depressed, the button becomes
unhighlighted. If the user then moves the mouse back over the button,
the button becomes highlighted again.
While the button is highlighted, its <hilite> <property> is also set to
true.
If the button's style <property> is "checkbox" or "radioButton",
clicking it turns the control on or off. If the
<button(object)|button's> <style> is menu, the <autoHilite> has no
effect.
If a field's <autoHilite> <property> is true, the user can move the text
<selection> by clicking in the <field(keyword)>, and text
<select|selected> with the <select> <command> is highlighted. If the
<field(object)|field's> <autoHilite> is false, user actions cannot
change the <selection> or place the <insertion point> in the
<field(keyword)> by clicking, although a <handler> can do so with the
<select> <command> and the user can do so with the arrow keys.
If a field whose <listBehavior> <property> is true also has its
<autoHilite> <property> set to false, list behavior does not work for
the field, and a clicked line does not <highlight>.
References: hilite (command), select (command), property (glossary),
highlight (glossary), insertion point (glossary), handler (glossary),
command (glossary), select (glossary), field (keyword),
selection (keyword), button (keyword), field (object), button (object),
showHilite (property), style (property), hilitedButtonName (property),
listBehavior (property), lookAndFeel (property), selected (property)
Tags: ui