Active window and mouse location
Richard Gaskin
ambassador at fourthworld.com
Tue May 8 15:13:21 EDT 2018
dunbarx wrote:
> The "screenMouseLoc" is a property, but the "mouseLoc" is a
> function.You cannot set a function.
>
> Why this was wrought this way is anybody's guess.
If memory serves mouseLoc was implemented as a function for
compatibility with HyperCard, which offered no way to move the mouse
cursor.
When the opportunity came up to make a global version, it seems the
choice to make that one a property was simply because a property is more
useful, allowing both getting and setting.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list