Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/dictionary/command/pop.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ If you specify a container, the long <ID> of the <card> is placed in the
change.

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

Expand Down
24 changes: 17 additions & 7 deletions docs/dictionary/command/popup-widget.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,28 @@ end mouseDown

Parameters:
kind: The unique identifier of the widget to use for the popup.
location: A point or expression that evaluates to a point. Two integers separated by a comma.
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.
location: A point or expression that evaluates to a point. Two integers
separated by a comma.
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.

The result: If the user dismisses the popup, the it variable is set to empty, and the result function returns "Cancel".
The result: If the user dismisses the popup, the it variable is set to
empty, and the result function returns "Cancel".

It: The <popup widget> command places the widget return value in the it variable.
It: The <popup widget> command places the widget return value in the it
variable.

Description:
Use to display a widget within a popup window, for example as a tooltip or picker dialog.
Use to display a widget within a popup window, for example as a tooltip
or picker dialog.

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.
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
<mouseLoc|mouse location>. While the popup widget is displayed, the
handler pauses.

References: mouseDown (message), mouseDown message (message), mouseUp message (message), popup (keyword), clickLoc (function), mouse location (function), result (function), it (keyword)
References: mouseDown (message), mouseUp (message), popup (keyword),
clickLoc (function), mouseLoc (function), result (function), it (keyword)

Tags: widget
6 changes: 3 additions & 3 deletions docs/dictionary/command/popup.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ clicked control in the stack (for a stack menu). The button or stack
menu handles the menu choice.

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

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

Expand Down
8 changes: 5 additions & 3 deletions docs/dictionary/command/post.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Type: command
Syntax: post <data> to URL <destinationURL>

Summary:
Sends data to a <web server> using the POST action of <HTTP>.
Sends data to a <web server> using the POST action of <http|HTTP>.

Associations: internet library

Expand Down Expand Up @@ -120,11 +120,13 @@ function (control structure), result (function), URLStatus (function),
URLEncode (function), libURLFormData (function), URLDecode (function),
libURLMultipartFormAddPart (function), libURLMultipartFormData (function),
variable (glossary), command (glossary),
Livecode custom library (glossary), property (glossary),
LiveCode custom library (glossary), property (glossary),
standalone application (glossary), blocking (glossary),
web server (glossary), command (glossary), expression (glossary),
syntax (glossary), server (glossary), upload (glossary),
statement (glossary), handler (glossary), URL (keyword), ftp (keyword),
statement (glossary), handler (glossary),
Standalone Application Settings (glossary),
URL (keyword), ftp (keyword),
http (keyword), Internet library (library), urlProgress (message),
httpHeaders (property), HTTPProxy (property)

10 changes: 7 additions & 3 deletions docs/dictionary/function/param.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,13 @@ to assign it a name:


LiveCode evaluates the parameters before passing them. So if you call
myHandler with the following statement: myHandler 1+1,"A","Hello" &&
"world" the parameters returned by the <param> <function> are 2, A,
and "Hello World".
myHandler with the following statement:

myHandler 1+1,"A","Hello" && "world"

the parameters returned by the <param> <function> are

2, A, and "Hello World".

References: function (control structure), paramCount (function),
pass (glossary), handler (glossary), parameter (glossary),
Expand Down
11 changes: 8 additions & 3 deletions docs/dictionary/function/params.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,16 @@ If you call "myFunction" with the following statement:

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

the value returned by the <params> function is "myFunction("red","green","blue")".
the value returned by the <params> function is

"myFunction("red","green","blue")".

LiveCode evaluates the parameters before passing them. So if you call
myHandler with the following statement: myHandler 1+1,"A","Hello" &&
"world" the value returned by the <params> <function> is
myHandler with the following statement:

myHandler 1+1,"A","Hello" && "world"

the value returned by the <params> <function> is

myHandler "2","A","Hello world"

Expand Down
6 changes: 3 additions & 3 deletions docs/dictionary/message/playerProgressChanged.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Description:
Handle the <playerProgressChanged> message when the loadState of the
player has changed.

You should query the <loadState> to determine which of the states have
changed:
You should query the loadState with the <mobileControlGet> function to
determine which of the states have changed:

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

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

References: loadState (function), playerFinished (message),
References: mobileControlGet (function), playerFinished (message),
playerError (message), playerLeaveFullscreen (message),
playerStopped (message), playerMovieChanged (message),
playerPropertyAvailable (message), playerEnterFullscreen (message)
Expand Down
4 changes: 0 additions & 4 deletions docs/dictionary/message/preOpenControl.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ Description:
Handle the <preOpenControl> message to update a group's appearance
before it appears on screen.

&nbsp;

For groups with their <backgroundBehavior> <property> set to true, the
<preOpenControl> message is sent immediately after the
<preOpenBackground> <message> is sent to the <card(object)> being opened.
For non-background groups, it is sent after the <preOpenCard> <message>.

&nbsp;

For nested groups, the <preOpenControl> message is sent to the parent
group first, if it is passed or not handled by the parent group, then it
passes through each child group in reverse layer order (i.e from highest
Expand Down
6 changes: 3 additions & 3 deletions docs/dictionary/property/pan.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Value:
The <pan> is a number between zero and 360.

Description:
Use the <pan> <property> to find out where the user is in a <QuickTime
VR> movie.
Use the <pan> <property> to find out where the user is in a
<QuickTime VR> movie.

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

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

Expand Down
12 changes: 6 additions & 6 deletions docs/dictionary/property/penPattern.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ borders of shapes.

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

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

If the <penColor> has been set since the last time the <penPattern> was
set, the color is used instead of the pattern specified by <penPattern>.
Expand Down
6 changes: 3 additions & 3 deletions docs/dictionary/property/pointerFocus.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ setup.
If the <pointerFocus> <property> is true, moving the <mouse pointer>
into a window makes it the <active window>. Set the <pointerFocus> to
true to work around problems in some <Unix> window managers
(specifically, "olwm" and "fvwm" ) that prevent <explicit
focus|active-focus> applications such as LiveCode from operating
correctly.
(specifically, "olwm" and "fvwm" ) that prevent
<explicit focus|active-focus> applications such as LiveCode from
operating correctly.

If the application is started from a Unix command line, this property
can be set to true on startup by using the -pointerfocus option.
Expand Down
2 changes: 1 addition & 1 deletion docs/glossary/p/Pointer-tool.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Synonyms: pointer tool, arrow tool
Type: glossary

Description:
<Tool> used in the LiveCode <development environment> to select, move,
<tool|Tool> used in the LiveCode <development environment> to select, move,
and resize <control|controls>.

When the Pointer tool is being used, the <cursor> is in the shape of an
Expand Down