Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 762633b

Browse files
author
livecodesam
committed
[Dictionary] pan to preOpenControl
1 parent a3f717e commit 762633b

File tree

12 files changed

+60
-43
lines changed

12 files changed

+60
-43
lines changed

docs/dictionary/command/pop.lcdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ If you specify a container, the long <ID> of the <card> is placed in the
3737
change.
3838

3939
If the list is empty when you use the <pop> <command>, LiveCode goes to
40-
the Home <card>. If you are running in the LiveCode <development
41-
environment>, this is the first <card> of the "license.rev" <stack>,
42-
which is the splash screen that appears when you start up LiveCode.
43-
(Click this card to close the stack.) If you are running in a
40+
the Home <card>. If you are running in the LiveCode
41+
<development environment>, this is the first <card> of the "license.rev"
42+
<stack>, which is the splash screen that appears when you start up
43+
LiveCode. (Click this card to close the stack.) If you are running in a
4444
<standalone application>, the Home <card> is the first <card> of the
4545
<standalone application|standalone's> <main stack>.
4646

docs/dictionary/command/popup-widget.lcdoc

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,28 @@ end mouseDown
3434

3535
Parameters:
3636
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.
3942

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".
4145

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.
4348

4449
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.
4652

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.
4857

49-
References: mouseDown (message), mouseDown message (message), mouseUp message (message), popup (keyword), clickLoc (function), mouse location (function), result (function), it (keyword)
58+
References: mouseDown (message), mouseUp (message), popup (keyword),
59+
clickLoc (function), mouseLoc (function), result (function), it (keyword)
5060

5161
Tags: widget

docs/dictionary/command/popup.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ clicked control in the stack (for a stack menu). The button or stack
5555
menu handles the menu choice.
5656

5757
If you use a button to hold the contents of the menu, the contents of
58-
the button's <menuItem Keyword> is displayed in the popup.
58+
the button's <menuItem> is displayed in the popup.
5959

6060
**Important:** If you use a button to hold the contents of the menu,
6161
the following properties must be set:
@@ -82,8 +82,8 @@ parameter of the <mouseDown(message)> message, as described above.
8282
References: pulldown (command), clickLoc (function), mouseLoc (function),
8383
menu item (glossary), popup menu (glossary), button (keyword),
8484
menuItem (keyword), popup (keyword), menuPick (message),
85-
mouseDown (message), mouseDown (message), mouseUp (message), message (glossary),
86-
stack (object), button (object), style property (property),
85+
mouseDown (message), mouseDown (message), mouseUp (message),
86+
message (glossary), stack (object), button (object), style (property),
8787
toolTip (property), menuMode (property), visible (property),
8888
menuMouseButton (property)
8989

docs/dictionary/command/post.lcdoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Type: command
55
Syntax: post <data> to URL <destinationURL>
66

77
Summary:
8-
Sends data to a <web server> using the POST action of <HTTP>.
8+
Sends data to a <web server> using the POST action of <http|HTTP>.
99

1010
Associations: internet library
1111

@@ -120,11 +120,13 @@ function (control structure), result (function), URLStatus (function),
120120
URLEncode (function), libURLFormData (function), URLDecode (function),
121121
libURLMultipartFormAddPart (function), libURLMultipartFormData (function),
122122
variable (glossary), command (glossary),
123-
Livecode custom library (glossary), property (glossary),
123+
LiveCode custom library (glossary), property (glossary),
124124
standalone application (glossary), blocking (glossary),
125125
web server (glossary), command (glossary), expression (glossary),
126126
syntax (glossary), server (glossary), upload (glossary),
127-
statement (glossary), handler (glossary), URL (keyword), ftp (keyword),
127+
statement (glossary), handler (glossary),
128+
Standalone Application Settings (glossary),
129+
URL (keyword), ftp (keyword),
128130
http (keyword), Internet library (library), urlProgress (message),
129131
httpHeaders (property), HTTPProxy (property)
130132

docs/dictionary/function/param.lcdoc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,13 @@ to assign it a name:
6262

6363

6464
LiveCode evaluates the parameters before passing them. So if you call
65-
myHandler with the following statement: myHandler 1+1,"A","Hello" &&
66-
"world" the parameters returned by the <param> <function> are 2, A,
67-
and "Hello World".
65+
myHandler with the following statement:
66+
67+
myHandler 1+1,"A","Hello" && "world"
68+
69+
the parameters returned by the <param> <function> are
70+
71+
2, A, and "Hello World".
6872

6973
References: function (control structure), paramCount (function),
7074
pass (glossary), handler (glossary), parameter (glossary),

docs/dictionary/function/params.lcdoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,16 @@ If you call "myFunction" with the following statement:
7575

7676
get myFunction("red","green","blue")
7777

78-
the value returned by the <params> function is "myFunction("red","green","blue")".
78+
the value returned by the <params> function is
79+
80+
"myFunction("red","green","blue")".
7981

8082
LiveCode evaluates the parameters before passing them. So if you call
81-
myHandler with the following statement: myHandler 1+1,"A","Hello" &&
82-
"world" the value returned by the <params> <function> is
83+
myHandler with the following statement:
84+
85+
myHandler 1+1,"A","Hello" && "world"
86+
87+
the value returned by the <params> <function> is
8388

8489
myHandler "2","A","Hello world"
8590

docs/dictionary/message/playerProgressChanged.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Description:
2222
Handle the <playerProgressChanged> message when the loadState of the
2323
player has changed.
2424

25-
You should query the <loadState> to determine which of the states have
26-
changed:
25+
You should query the loadState with the <mobileControlGet> function to
26+
determine which of the states have changed:
2727

2828
* playable - enough data is available to start playing, but it may
2929
run out before playback finishes
@@ -35,7 +35,7 @@ changed:
3535

3636
Zero or more of these are returned in a comma delimited string value.
3737

38-
References: loadState (function), playerFinished (message),
38+
References: mobileControlGet (function), playerFinished (message),
3939
playerError (message), playerLeaveFullscreen (message),
4040
playerStopped (message), playerMovieChanged (message),
4141
playerPropertyAvailable (message), playerEnterFullscreen (message)

docs/dictionary/message/preOpenControl.lcdoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,11 @@ Description:
2727
Handle the <preOpenControl> message to update a group's appearance
2828
before it appears on screen.
2929

30-
&nbsp;
31-
3230
For groups with their <backgroundBehavior> <property> set to true, the
3331
<preOpenControl> message is sent immediately after the
3432
<preOpenBackground> <message> is sent to the <card(object)> being opened.
3533
For non-background groups, it is sent after the <preOpenCard> <message>.
3634

37-
&nbsp;
38-
3935
For nested groups, the <preOpenControl> message is sent to the parent
4036
group first, if it is passed or not handled by the parent group, then it
4137
passes through each child group in reverse layer order (i.e from highest

docs/dictionary/property/pan.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Value:
2727
The <pan> is a number between zero and 360.
2828

2929
Description:
30-
Use the <pan> <property> to find out where the user is in a <QuickTime
31-
VR> movie.
30+
Use the <pan> <property> to find out where the user is in a
31+
<QuickTime VR> movie.
3232

3333
The user can move the view of a QuickTime VR movie using the
3434
navigational controls in the player; a handler can change the view by
@@ -42,7 +42,7 @@ zero corresponds to the straight-ahead view of the scene. As the viewer
4242
turns clockwise, the <pan> increases.
4343

4444
If you set the <pan> of a player to a number outside the range zero to
45-
360, no <error> results, but the <pan> is set tonumber mod 360. For
45+
360, no <error> results, but the <pan> is set to number mod 360. For
4646
example, if you attempt to set the <pan> of a <player(keyword)> to -20,
4747
its <pan> is actually set to 340.
4848

docs/dictionary/property/penPattern.lcdoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ borders of shapes.
4343

4444
Pattern images can be color or black-and-white.
4545

46-
>*Cross-platform note:* To be used as a pattern on <Mac OS|Mac OS
47-
> systems>, an <image> must be 128x128 <pixels> or less, and both its
48-
> <height> and <width> must be a power of 2. To be used on <Windows> and
49-
> <Unix|Unix systems>, <height> and <width> must be divisible by 8. To
50-
> be used as a fully cross-platform pattern, both an image's dimensions
51-
> should be one of 8, 16, 32, 64, or 128.
46+
>*Cross-platform note:* To be used as a pattern on
47+
> <Mac OS|Mac OS systems>, an <image> must be 128x128 <pixels> or less,
48+
> and both its <height> and <width> must be a power of 2. To be used on
49+
> <Windows> and <Unix|Unix systems>, <height> and <width> must be
50+
> divisible by 8. To be used as a fully cross-platform pattern, both an
51+
> image's dimensions should be one of 8, 16, 32, 64, or 128.
5252

5353
If the <penColor> has been set since the last time the <penPattern> was
5454
set, the color is used instead of the pattern specified by <penPattern>.

0 commit comments

Comments
 (0)