The below menu works great with keyboard commands but intermittant with mouse commands. Why don't my mouse commands work accurately?
Set Display Mode 800,600,16
Set Text Opaque
Sync On
Sync Rate 0
Set Text Opaque
Dim Label$(9)
Global Date$
Global Space$
Global Itm
Label$(0)=" Check Chum Command Center"
Label$(1)="Register No."
Label$(2)="SetUP"
Label$(3)="Codes"
Label$(4)="Pre-Assignments"
Label$(5)="Transactions"
Label$(6)="Queries"
Label$(7)="Balance"
Label$(8)="Help"
Space$=" "
Date$=Get Date$()
cls rgb(127,151,175)
set dir "E:\"
load image "ItmAimg.bmp",1
load Image "ItmBimg.bmp",2
load Image "ItmCimg.bmp",3
load Image "ItmDimg.bmp",4
load Image "ItmEimg.bmp",5
load Image "ItmFimg.bmp",6
load Image "ItmGimg.bmp",7
load Image "ItmHimg.bmp",8
load Image "ItmIimg.bmp",9
Start:
Paste Image 1,0,0
Get Image 10,0,18,800,150
sync
Caption(1)
PrnMenuBar
Menu$=""
Clear Entry Buffer
Do
sync
X=MouseX(): Y=MouseY()
If X>782 and Y "A" and Menu$ 19
If X>3 And X110 And X179 And X246 And X385 And X498 And X577 And X659 And X43 and Y57 and Y73 and Y88 and Y103 and Y118 and Y133 and Y148 and Y
It took Years to Make Me this Stupid!