Skip to content

Commit 0a05291

Browse files
livecodesamlivecodepanos
authored andcommitted
[Bugfix-15645] Generally correct controlAtScreenLoc dictionary entry (livecode#7200)
* [Bugfix-15645] Generally correct controlAtScreenLoc * [Bugfix-15645] Generally correct controlAtScreenLoc * [Bugfix-15645] Generally correct controlAtScreenLoc * Rename Bugfix-15645.md to bugfix-15645.md
1 parent 35d4cd4 commit 0a05291

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

docs/dictionary/function/controlAtLoc.lcdoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ The <controlAtLoc> function returns the control at the given location.
3131
The function returns the number of the control, below are examples of
3232
getting the name or long id of the control
3333

34-
get the name of (controlAtLoc(<coordinates>))
35-
get the long ID of (controlAtLoc(<coordinates>))
34+
get the name of (controlAtLoc(<coordinates>))
35+
36+
get the long ID of (controlAtLoc(<coordinates>))
3637

3738
References: mouseLoc (function), controlAtScreenLoc (function),
3839
control (keyword), location (property)

docs/dictionary/function/controlAtScreenLoc.lcdoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Example:
1717
put controlAtScreenLoc((100,100))
1818

1919
Example:
20-
get the name of (controlAtScreenLoc(the mouseLoc))
20+
get the name of (controlAtScreenLoc(the screenMouseLoc))
2121

2222
Parameters:
2323
coordinates(point):
@@ -31,10 +31,11 @@ The <controlAtScreenLoc> function returns the control at the given
3131
location. The function returns the number of the control, below are
3232
examples of getting the name or long id of the control
3333

34-
get the name of (controlAtLoc(<coordinates>))
35-
get the long ID of (controlAtLoc(<coordinates>))
34+
get the name of (controlAtScreenLoc(<coordinates>))
3635

37-
References: mouseLoc (function), controlAtLoc (function),
36+
get the long ID of (controlAtScreenLoc(<coordinates>))
37+
38+
References: screenMouseLoc (function), controlAtLoc (function),
3839
control (keyword), location (property)
3940

4041
Tags: ui

docs/notes/bugfix-15645.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Corrected information the controlAtScreenLoc entry

0 commit comments

Comments
 (0)