You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: docs/dictionary/command/popup-widget.lcdoc
+17-7Lines changed: 17 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -34,18 +34,28 @@ end mouseDown
34
34
35
35
Parameters:
36
36
kind: The unique identifier of the widget to use for the popup.
37
-
location: A point or expression that evaluates to a point. Two integers separated by a comma.
38
-
properties: An expression that evaluates to an array. For each key of the array, the popup widget will be initialized by setting that property to the value for that key.
37
+
location: A point or expression that evaluates to a point. Two integers
38
+
separated by a comma.
39
+
properties: An expression that evaluates to an array. For each key of the
40
+
array, the popup widget will be initialized by setting that property to
41
+
the value for that key.
39
42
40
-
The result: If the user dismisses the popup, the it variable is set to empty, and the result function returns "Cancel".
43
+
The result: If the user dismisses the popup, the it variable is set to
44
+
empty, and the result function returns "Cancel".
41
45
42
-
It: The <popup widget> command places the widget return value in the it variable.
46
+
It: The <popup widget> command places the widget return value in the it
47
+
variable.
43
48
44
49
Description:
45
-
Use to display a widget within a popup window, for example as a tooltip or picker dialog.
50
+
Use to display a widget within a popup window, for example as a tooltip
51
+
or picker dialog.
46
52
47
-
The popup appears with its top left corner at the <location>. If no <location> is specified, the popup's top left corner is at the <mouse location>. While the popup widget is displayed, the handler pauses.
53
+
The popup appears with its top left corner at the <location>. If no
54
+
<location> is specified, the popup's top left corner is at the
55
+
<mouseLoc|mouse location>. While the popup widget is displayed, the
56
+
handler pauses.
48
57
49
-
References: mouseDown (message), mouseDown message (message), mouseUp message (message), popup (keyword), clickLoc (function), mouse location (function), result (function), it (keyword)
0 commit comments