Project

General

Profile

Actions

Bug #661

open

Mouse Screen isn't working. It always returns -1

Added by Brian Flanagan almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
Start date:
02/09/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Example:

Screen Open 1,1920,1080,32,Lowres
Palette 0,$FFFFFF : Ink 1 : Pen 1 : Paper 0 : Curs Off : Flash Off : Cls 0
Box 0,0 To 1919,1079
Do
    Locate 1,1 : Print Using "-###";Mouse Screen
    Locate 1,2 : Print Using "-####";X Mouse;
    Print " , "; :  Print Using "-####";Y Mouse 
    Wait Vbl
Loop

The above code should display the index of the current screen under the mouse, but instead, it always returns -1.
(I put the X Mouse, Y Mouse display there, to ensure the program was working.)

Actions

Also available in: Atom PDF