AMOS Baisc: Limit Mouse produces wrong (strange!) limits #5
Labels
No Label
AMOS Pro Bugs List
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TheIndustriousRabbit/amos-professional#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ref 1.07
Sometimes when you use Limit Mouse using either
Limit Mouse X1,Y1 To X2,Y2
or
Limit Mouse
it can cause a bug in AMOS Pro where the mouse is not limited correctly - the mouse refuses to go
beyond halfway across the screen to the right, regardless of the values used for X1 and X2. If the
mouse is moved upwards off the top of the screen to a certain point it appears at the bottom of the
screen and doesn't move left or right, though it will disappear if you move the mouse downwards and
reappear correctly at the top of the screen!
The fix for this is to use Limit Mouse _SCREEN_NUMBER before you use Limit Mouse with specific
coordinates. Here's an example
Limit Mouse 0
Limit Mouse 128,50 To 128+319,296 : Rem hardware coords used to set limits as 0,0 to 319,246
Tested With
AMOSPro V2.00 uncompiled - has the bug
AMOSPro V2.00 compiled - not tested yet
AMOS V1.36 uncompiled - not tested yet
AMOS V1.36 compiled - not tested yet
Credits
http://www.amigacoding.com/index.php?title=AMOS:Bug_Limit_Mouse&oldid=4490